...
NOTE: there is no space between <salesforce_password> and <security_token>
For the endpoints, use the following for the live system:
https://login.salesforce.com/services/oauth2/token
And the following for the test / sandbox system:
https://test.salesforce.com/services/oauth2/token