Skip to content

Instantly share code, notes, and snippets.

@bolerap
Created November 8, 2016 04:28
Show Gist options
  • Save bolerap/e9ae247a5b0289f4eca2c2a2d94ac149 to your computer and use it in GitHub Desktop.
Save bolerap/e9ae247a5b0289f4eca2c2a2d94ac149 to your computer and use it in GitHub Desktop.
# Send POST request with customize header
curl --header "Content-Type: application/json" --header "authToken: <token_string>" --data @file.txt https://api.abc.com/endpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment