function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
zgcharley_09zgcharley_09 

Access token only can be set to http header?

Hi,

 

After getting the access token, REST client need use it for following request. According to the demo, this access token can only set in http header. 

 

Shall can i sent this token in http parameters?

 

Thanks

zg

Best Answer chosen by Admin (Salesforce Developers) 
SuperfellSuperfell

No, it has to be in the Authorization HTTP header.

All Answers

SuperfellSuperfell

No, it has to be in the Authorization HTTP header.

This was selected as the best answer
mobillemobille

Iam integrating salesforce sdk into my iphone app.After login Iam getting credential details such as instance url ,identity url,accesstoken etc..Now I want to retrive user profile info such as profile pic ,likes,comments,post and user personal info.How can i get this info.??How to send accesstoken to RESTAPI as a header field??Can anyone give me url structure.??

 

Thanks in Advance.

 

Sandeep