You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST API : OSvC-CREST-Application-Context header

Received Response
29
Views
3
Comments
edited Jul 19, 2018 4:08PM in Integrations and APIs 3 comments

Content

Hi friends,

I am using Service cloud site 18A trying to access REST API for simple GET operations.My account has all permissions related to standard and custom objects. But I am getting an error as below:

"detail": "Request does not contain OSvC-CREST-Application-Context header"

When I am adding the header OSvC-CREST-Application-Context  to my request headers, it is strange that I am getting an unauthorized response 401. Any help would be appreciated. 

 

Version

Oracle Service Cloud 18A

Code Snippet

             URL:https://mysite.rightnowdemo.com/services/rest/connect/v1.4/accounts/2

Method: GET

Headers:
Authorization:Basic 
OSvC-CREST-Application-Context: This is a valid request for account 2. 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!