One of our users just posted this in our support portal, we though you guys could have some answers in the community:
Hi,
i am trying to send data with Fona, everything works fine so far, but if i want to upload GPS-data via “context” i also get a “BAD Request” as a response. The same code with curl works fine.
In my Fona-Code (which is based on the tutorial on your page) i exchanged the “value” statement which used to be
var = “{“value”:” + value + “}”;
with
var = “{“value”: 10, “context”: {“lat”:” + String(latval2) + “,“lng”:” + String(lonval2) + “}}”;
Any idea what is goirn wrong?
thx s