Last active
June 9, 2016 16:30
-
-
Save hkarasek/6aa6dd4a9907f0c9ef8c480808e3b2b0 to your computer and use it in GitHub Desktop.
iot.hkar.eu POST envents
This file contains hidden or 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
| data = ";".join([API_KEY, 'random_number', str(4.3)]) | |
| req = requests.post('http://iot.hkar.eu/dash/%s/event' % DASH_ID, data=data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment