Created
October 7, 2014 17:07
-
-
Save ryanmmmmm/4fef493114cce8f55e5c to your computer and use it in GitHub Desktop.
Example CURL for Events API
This file contains 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 -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