You need to sign in to do that
Don't have an account?

Managing Authentication in REST Callout
Hi,
Kindly suggest the best practice to configure Authentication details (like username / password) inside Salesforce for REST call out using HttpRequest class.

Kindly suggest the best practice to configure Authentication details (like username / password) inside Salesforce for REST call out using HttpRequest class.
Refer to this link
http://salesforce.stackexchange.com/questions/25021/how-can-i-integrate-one-sfdc-org-to-another-sfdc-using-rest-api
Named Credentials - Setup (https://sfdcfanboy.com/2018/01/15/named-credentials-setup/)
Named Credentials - Code (https://sfdcfanboy.com/2018/01/15/named-credentials-code/)