https://io.adafruit.com/api/docs/cookbo ... on-strings
The POST does complete successfully, I get a 200 status response. But the resulting feed value does not contain all of the data. It only contains a single one of the keys from the data, not any of the values, and not the other key either.
Here is a screenshot of the resulting feed value:
I am using python requests to post my data:
Code: Select all
fake_data = {
"value": {"sensor-1":22.587,"sensor-2":13.182},
"lat": 38.1123,
"lon": -91.2325,
"ele": 112
}
resp = requests.post(aio_url, data=fake_data, headers=headers)
print(resp.status_code)