Problem: trying to authenticate to a dev org using Session Id authentication and cURL fails when following the REST API Dev doc. The example in the doc provides the following, which fails (Quick Start pg:23):
curl https://login.salesforce.com/services/oauth2/token -d "grant_type=password" -d
"client_id=myclientid" -d "client_secret=myclientsecret" -d "[email protected]" -d
"password=mypassword123456"
Even after appending the security token to the password, the response is the same:
{"error":"invalid_grant","error_description":"authentication failure"}