Deploy data to bucket

Hi!

This is probably a very basic question, yet I’m struggling to find the solution. How can I deploy data to bucket with HTTP POST request?

For example, I want to push temp : 23.1 and humidity : 86

I was able to read an empty bucket, with the following request:
https://api.thinger.io/v1/users/[UserID]/buckets/[MyBucketID]/data?authorization=[MyToken]

Why is the rights syntax for posting data? Thank you!

1 Like

I want to know the same, maybe someone can help us
I´m trying these withi Node Red:

[{“id”:“113cb0c3.39517f”,“type”:“inject”,“z”:“5b0a2acd.4f25a4”,“name”:"",“topic”:"",“payload”:"[{“device”:“MyDevice”,“val”:{“Bomba”:1}}]",“payloadType”:“json”,“repeat”:"",“crontab”:"",“once”:false,“onceDelay”:0.1,“x”:90,“y”:440,“wires”:[[“8dcaf768.1d4118”]]},{“id”:“8dcaf768.1d4118”,“type”:“http request”,“z”:“5b0a2acd.4f25a4”,“name”:"",“method”:“POST”,“ret”:“obj”,“paytoqs”:false,“url”:“https://api.thinger.io/v1/users/MyUser/buckets/MyBucket/data",“tls”:"",“proxy”:"",“authType”:“bearer”,“x”:250,“y”:440,“wires”:[[“c1665b73.e6b7a8”]]},{“id”:“c1665b73.e6b7a8”,“type”:“debug”,“z”:“5b0a2acd.4f25a4”,“name”:"",“active”:true,“tosidebar”:true,“console”:false,“tostatus”:false,“complete”:“true”,“targetType”:“full”,“x”:410,“y”:440,"wires”:[]}]

But I have the message: “cannot write to the requested bucket, check that is available and enabled”