Created
December 4, 2014 23:41
-
-
Save olafloogman/56e815ef4be47ff4c0e7 to your computer and use it in GitHub Desktop.
Arduino HTTP Post
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
POST https://myservicebusnamespace.servicebus.windows.net/your-event-hub/messages?timeout=60&api-version=2014-01 HTTP/1.1 | |
Authorization: SharedAccessSignature sr=myservicebusnamespace.servicebus.windows.net&sig=tYu8qdH563Pc96Lky0SFs5PhbGnljF7mLYQwCZmk9M0%3d&se=1403736877&skn=MyPolicy | |
ContentType: application/atom+xml;type=entry;charset=utf-8 | |
Host: your-namespace.servicebus.windows.net | |
Content-Length: 42 | |
Expect: 100-continue | |
{ "DeviceId" : "ArduinoYun", | |
"SensorData" : [ { "SensorId" : "yun", | |
"SensorType" : "temperature", | |
"SensorValue" : 24.5 | |
} ] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment