+ Start a Discussion
Sanjay SubramanianSanjay Subramanian 

Log In Using the SOAP API

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



 
ANUTEJANUTEJ (Salesforce Developers) 
Hi Sanjay,

>> https://developer.salesforce.com/forums/?id=906F000000099liIAA

As mentioned in this above link can you try including a security token once?

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.  

Thanks.
Sanjay SubramanianSanjay Subramanian
Hi Anutej,
I appended the security token to the password i.e. password=MYPASSWORD+SECURITY_TOKEN
I get the same output using the -v option in curl . However I get no response XML 
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
Thanks
sanjay
 
Sanjay SubramanianSanjay Subramanian
Anyone ? With any ideas or thoughts on the above issue I am facing ?