Skip to content

Instantly share code, notes, and snippets.

@ryanmmmmm
Created October 7, 2014 17:07
Show Gist options
  • Save ryanmmmmm/4fef493114cce8f55e5c to your computer and use it in GitHub Desktop.
Save ryanmmmmm/4fef493114cce8f55e5c to your computer and use it in GitHub Desktop.
Example CURL for Events API
curl -X POST "https://api-events.datasnap.io/v1.0/events" \
-H "Authorization: Basic NVowVEtKOEdMWk9SNDBJVTRDQk9FSDc4QjpQREdJYndXMjVDYlVrUlNJcC9PT0IrV25pRER1ZEcvUHUramZqekFFZndR" \
-H "Content-type: application/json" \
-d @production-sample.json \
-w %{time_connect}:%{time_starttransfer}:%{time_total} \
-m 30 \
-v \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment