Last active
July 18, 2021 23:01
-
-
Save jamesseanwright/afe4493530f8847ffd6dc2e82eef956a to your computer and use it in GitHub Desktop.
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 -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 '{ | |
"date": "'$(date -u +%FT%TZ)'", | |
"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