Quantcast
Channel: The Things Network - Latest posts
Viewing all articles
Browse latest Browse all 115657

REST API: get your node data

$
0
0

Its up and working. Thanks!

Having a few difficulties getting my payload back from the API:
I'm sending 5 bytes in the payload. In the API they have been transformed into two unicode characters it seems.

I sent a byte array {1,0,0,0,1}. However this is what the API gives back: {"data_raw":"gAEABAIAAwAGQrAGbG3R","node_eui":"02040001","time":"2015-12-30T16:42:18.573Z","data_plain":"\u0001\u0000","gateway_eui":"0203090000000002","data":"AQA="}

I wasn't expecting the network or API to make inferences about my data. Because of the limited payload size (5 bytes it seems) i would like to use all available bits.


Viewing all articles
Browse latest Browse all 115657

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>