Created
August 31, 2015 17:06
-
-
Save boomtrain-support/59b8e270dd5f8d6e7870 to your computer and use it in GitHub Desktop.
API Authentication - An example of basic authentication using cURL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -u {username}:{password} | |
-H 'x-app-id: {app_id}' | |
-X {HTTP Method} | |
'https://api.boomtrain.com/{endpoint}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment