-
how to handle access_token in Rest API Call with JSON in Salesforce?
HI,
i have get access_token, "token_type", "expires_in", "scope", "no_of_active_sessions" ,"redirect_uri", "status" ,"errorMessage" in response after call login API with post method (Rest API Call with JSON).
Now i need to store the access_token & token_type in string variables and create the consignment(case) API with post method and pass Authorization: token_type+" "+ access_token in header and request with some fields like Consignment numbers, pincode, weight and etc.
and get response with error(Boolean), errorMessage(String) & cnote(String)
how to handle this code?
Log In to reply.
Popular Salesforce Blogs
Salesforce URL Hacking Button for Lightning Experience
The Salesforce Lightning URL Hack is a strategy for making an extraordinary hyperlink or content and uncovering it by means of catch or recipe field.…
Building Your First App for Salesforce AppExchange: A Step-by-Step Solution
Are you looking to build an application for Salesforce AppExchange? You must be familiar with Salesforce and how it works. Knowing the platform's capabilities can…
Steps To Connect Marketing Cloud and Salesforce Org
Before installing Marketing Cloud Connect, you need to keep the following Things in your mind - Review the Features page to understand compatibility and product versions. Marketing…
Popular Salesforce Videos
Non-technical But Want to Build Career in Salesforce?
In this video Shrey gave the answer to the following questions: 1. What is the next step after doing Certification in Salesforce Administrator? 2. How…
Lesser Known VSCode Tips for Salesforce Developers
More Code, Less Work. Whether you are a beginner or an advanced developer, smart tips, and sharp tools can significantly improve your productivity. There are…
How Do You Select the Right Salesforce Implementation and Transformation Partner?
Looking for Salesforce Certifications while choosing a Salesforce Implementation Partner is no more just enough. In this video Our CEO Jayant Umrani explaining about the…