Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save boomtrain-support/33aeb4c728a0fa3fabc8 to your computer and use it in GitHub Desktop.
Save boomtrain-support/33aeb4c728a0fa3fabc8 to your computer and use it in GitHub Desktop.
API Header Content-Type - An example header with Content-Type when using cURL
curl -u {username}:{password}
-H 'x-app-id: {app_id}'
-X {POST or PUT}
-H 'Content-Type: application/json'
-d '{Data to POST or PUT}'
'https://api.boomtrain.com/{endpoint}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment