Skip to content

Instantly share code, notes, and snippets.

@techb
Last active February 20, 2020 16:18
Show Gist options
  • Save techb/9985499834fc9ac2bd40da9e90fb18c6 to your computer and use it in GitHub Desktop.
Save techb/9985499834fc9ac2bd40da9e90fb18c6 to your computer and use it in GitHub Desktop.

Steps to use Postman with Salesforce

Use Postman to send and receive API requests to Salesforce to aid in developing and testing.

Step One

  • Salesforce Org
  • Setup
  • App Manager
  • (new or select one)
  • API (Enable OAuth Settings) to get Consumer KEY and SECRET

Step Two

  • Postman
  • POST https://login.salesforce.com/services/oauth2/token
  • Body -> form-data
    • username: your org username
    • passowrd (pass+token) token found: click your name -> settings -> on left 'Reset My Security Token'
    • grant_type: password,
    • client_id: from step 1.
    • client_secret: from step 1.

Making Calls

  • New requests: Use URL from step 2. instance_url
  • Authorzation: Bearer Token token from step 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment