Particle thingsboard Webhook

Responding to a Private Message from Pablo Rattin

Hi Jhonny, I want to add a particle to thingsboards via webhook?
I read your post in the comunity, I’m total lost,I’m far far far away of json’s etc.

curl -v -X POST -d “{“temperature”: 25}” --header “Content-Type:application/json”

I test the device over thingboard with curl.
Any help will be very appreciated

Pablo, firstly your Quotes are wrong. Try using Double quotes for the curl parameter but single quotes in the JSON parameter.
Secondly, The TOKEN_THINGSBOARD should be the device token, so In thingsboard click on Manage Credentials and use the TB generate token. Then you should have a telemetry update.
E.G. curl -v -X POST -d "{'temperature': 25}" --header "Content-Type:application/json"

2 posts were merged into an existing topic: Custom Webhook Thingsboard