Created
August 31, 2015 17:17
-
-
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
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 {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