Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jamesseanwright/e0d02970c8c3513d0b848da399405f0a to your computer and use it in GitHub Desktop.
Save jamesseanwright/e0d02970c8c3513d0b848da399405f0a to your computer and use it in GitHub Desktop.
$ curl -XPOST "https://xxxxxxxxxx.execute-api.eu-west-1.amazonaws.com/production/events" \
-H "Content-Type: application/json" \
-H "x-api-key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
-d '{
"deviceID": "8f188304-e7b3-4a16-a243-b9470468478a",
"eventType": "temp_celcius",
"value":3
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment