-
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
10 Ways to Improve Report Performance - Salesforce Developer Guide
Do your massive reports take a long time to return data? Here are several tried and tested ways that you'll be able to maximize report…
How Salesforce Customization Services Can Help Your Business
Salesforce is known to have thousands of features used by businesses, along with customization options. Off-the-shelf Salesforce solutions might initially help a business but, moving…
Top 6 Features To Consider While Choosing an Idea Management Software | Salesforce
Sticky notes or the good ol’ suggestion box are great to quickly capture ideas. These methods, however, do not guarantee that great ideas will be…
Popular Salesforce Videos
Should You Learn Salesforce in 2020?
The Salesforce industry has been the best-kept secret of our careers with average salaries near $150,000 - but is it still a good technology to…
Salesforce Marketing Cloud Connector for UiPath
This is a connector for Salesforce Marketing Cloud that allows you to work in the background with SFMC instance. watch this video and let us…
Lightning Component Development - 01 - Basic of Lightning Framework, Component Bundle, App Builder
What is covered in this session? * What is Lightning Component Framework? * Lightning Component Across Salesforce Ecosystem * When to use lightning component? * Where…