• Sanjay Subramanian
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 5
    Replies
Hi all,
I am following the steps mentioned in this document. 
Log In Using the SOAP API (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_quickstart_login.htm)
However when I fire that CURL command I dont get any XML response back. What I am doing wrong ? 
When add the verbose (-v) to CURL then it says 
Connected to XXXX.lightning.force.com (13.108.250.96) port 443 (#0)
.....
.....many verbose CURL output
.....
.....
Connection #0 to host XXXX.lightning.force.com left intact



 
Hi all,
I am following the steps mentioned in this document. 
Log In Using the SOAP API (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_quickstart_login.htm)
However when I fire that CURL command I dont get any XML response back. What I am doing wrong ? 
When add the verbose (-v) to CURL then it says 
Connected to XXXX.lightning.force.com (13.108.250.96) port 443 (#0)
.....
.....many verbose CURL output
.....
.....
Connection #0 to host XXXX.lightning.force.com left intact



 
Hi,

I am new to REST API. I would like to send Http Requests from Curl software that I installed on my desktop.
How to request OAuth token from command prompt using Curl.(I have done extensive search on google - could not find any reliable answer). 

What is the callback URL that I should give in Salesforce dev edition.

Please help

While the API docs have a lot of great examples using cURL, I don't see an example of how to actually obtain the access token. I tried the following with no joy:

 

 

curl grant_type=authorization_code \
  client_id=MY-CONSUMER-KEY \
  client_secret=MY-CONSUMER-SECRET \
  https://na5.salesforce.com/services/oath2/token

 

 

Thanks

 

Jeff Douglas

Appirio, Inc.

http://blog.jeffdouglas.com

 

Author: The Salesforce Handbook