Guest User

Untitled

a guest
Feb 2nd, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. Documentation:
  2. https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_web_server_oauth_flow.htm
  3.  
  4.  
  5. Method:
  6. POST
  7.  
  8. URL:
  9. https://login.salesforce.com/services/oauth2/token
  10.  
  11. Header:
  12. Content-Type: application/x-www-form-urlencoded
  13.  
  14. Body:
  15. grant_type=password&client_id=3MVG9HxRZv05HarTyunhC4dHwrkILJSnBtbdnHbPnnzgN1CPb_afTZ43K9E9LAi9UbStGPl6ZdPiYUkD81kl6&client_secret=6312532765104039215&username=ronen.cohen@poalim.co.il.lab&password={{passworkd+APIKey}}
  16.  
  17. Response Example:
  18. {
  19. "id":"https://login.salesforce.com/id/00D50000000IZ3ZEAW/00550000001fg5OAAQ",
  20. "issued_at":"1296509381665",
  21. "instance_url":"https://na1.salesforce.com",
  22. "signature":"+Nbl5EOl/DlsvUZ4NbGDno6vn935XsWGVbwoKyXHayo=",
  23. "access_token":"00D50000000IZ3Z!AQgAQH0Yd9M51BU_rayzAdmZ6NmT3pXZBgzkc3JTwDOGBl8BP2AREOiZzL_A2zg7etH81kTuuQPljJVsX4CPt3naL7qustlb"
  24. }
Add Comment
Please, Sign In to add comment