![]() This is going to be a GET request and in the header I'll set the key:- Authorization and Value:- Bearer as we have the access token type of bearer (from the previous JSON response). Like now I need to query, so I am able to find the documentation at:- ĪPI versions are continuously upgraded, I am using v42.0 and a simple query i.e. You can explore the REST API developer guide for standard APIs. For Ex:- My instance URL of developer org is:. The instance URL is basically the base URL of your org. ![]() This time, you need to make a request to your instance URL. Now, for a demo, let's query our accounts from Salesforce Org using postman. You'll see the below screen:-Īs you can see in the above image, you'll have a JSON response as follows:-Ĭopy the access token as we're going to use this in the subsequent requests to salesforce. Leave other options as it is and click on Save. To access standard Salesforce APIs to deal with our data and for any custom APIs too that we make in apex, the Access and manage your data (api) is enough for us as I am going to use system administrator credentials.ĩ. Postman courses are generally available in India as various certificate programs from different online or offline institutes. It is basically a choice of which APIs you want to use like if you want to use chatter api, you need to add it to the Selected OAuth Scopes section and similar approach for any other api.Ĩ. Under the Selected OAuth Scopes section, choose Access and manage your data (api) and move it from the Available OAuth Scopes to the Selected OAuth Scopes section. It is basically the URL where the authorization code will be sent in case of OAuth. ![]() This is quite similar to when we make a connected app at any 3rd party server which is used for server to server communication, as we're going to use postman so the Callback URL doesn't affect us.
0 Comments
Leave a Reply. |