How to call Salesforce API from Postman

Author - Webner
8.12.2020
|
0 Comments
||

To verify the output of a web service in salesforce we need to connect it with the postman. To connect salesforce with postman we need to follow these steps.

  1. Get access token:- To get access token.

    • Click on the authorization tab in the request section.
    • Select OAuth2.0 in type section
    • Click on ‘Get New Access Token’.

      sf1

    • A window will popup.
      salesforce 2
    • Write the information as mentioned above and click on the request token.
    • On the next screen, you will get your token click on the Use token button.

      salesforce 3

  2. Select your request type

  3. Enter the URL – https:// — InstanceURL– /services/apexrest//

    salesforce 4

  4. In the body section put your request data.

    salesforce 5

Webner Solutions is a Software Development company focused on developing Insurance Agency Management Systems, Learning Management Systems and Salesforce apps. Contact us at dev@webners.com for your Insurance, eLearning and Salesforce applications.

Leave a Reply

Your email address will not be published. Required fields are marked *