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
sunil h 10sunil h 10 

Passing AccessToken In header Rest Api

Hi Guys,

We are trying to send account information from salesforce to external system via rest api
there are two callouts happening 
1. Getting accessToken (Getting success response)
2. Using accessToken and sending information (Not able to add access token in Header)

Am able to get sucess response in Postman when i post access token in URL
EX: 

User-added image

How to achecive same in apex code adding access token in header?

Thanks in adv