My cellular device is sending this JSON
{“la”: “40.293309XXX”, “lo”: “-73.21262XXX”, “f”: 71, “t”: “81”, “h”: “66”, “id”: 100}
My Router Configuration looks like this:
{“customerid” : <<decdata.id>>,“data” : {“lat” : <<decdata.la>>, “long” : <<decdata.lo>>, “fuel” : <<decdata.f>>, “temperature” : <<decdata.t>>, “humidity” : <<decdata.h>>}}
I run into a 502 error if I keep decimal points in the Lat and Long. If I remove the decimal points it works, If i post directly with decimal points using postman or API Gateway in Amazon it works.
{“customerid” : 100,“data” : {“lat” : “40.29330XXX”, “long” : “-73.21262XXX”, “fuel” : “71”, “temperature” : “98”, “humidity” : “66”}}
I XXX out the detailed location
Thanks very much -Phil