Skip to content

Instantly share code, notes, and snippets.

@boomtrain-support
Created August 31, 2015 17:06
Show Gist options
  • Save boomtrain-support/59b8e270dd5f8d6e7870 to your computer and use it in GitHub Desktop.
Save boomtrain-support/59b8e270dd5f8d6e7870 to your computer and use it in GitHub Desktop.
API Authentication - An example of basic authentication using cURL
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