Using Python 2.7.8 here
/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /Users/emmanuel/dev/source/runabove_iot/test-iot.py
/Library/Python/2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
HTTP code is 500 and reason is Internal Server Error
Process finished with exit code 0
On a side note,
I tried using time.time() for timestamp and I was getting a 400 (because I has milliseconds?)
When using the data as-is, i get a 500
Of course I used my own write token and key.