Step 1 Create Connected app
Go to Quick find box and type app click on new connectd app
And create app
Then using postman get the access Token and in parameter section enter value of
grant_type= password
client_id= xxxxxxx
client_secret=xxxxx
username=xxxxxx
password=xxxxxx
and enter url = https://login.salesforce.com/services/oauth2/token
And Method should be post: and then send the request and get the response with Access Token
Copy the Access token and create new request with body and in Autheization tab enter the value
and header tab enter with value or you can use Auth tab and enter the Token after Bearer with Space
Authorization
Bearer (Access_Token)
Content-Type application/json
If you want to use different object then change object name at the end in below url
https://infoglenn-dev-ed.my.salesforce.com/services/data/v35.0/sobjects/Account
No comments:
Post a Comment