I have been trying to forward my data to dweet but either I can send only text or I get errors on the routing. I have been using the Advanced Webhook Builder and trying to route to dweet. My json data looks like this message = json.dumps({“bp”: pressure})
sent = hologram.sendMessage(message)
The lastest destination URL I tried is: https://dweet.io/dweet/for/PHweather0317?“bp” : <<decdata.pressure>>
and the error I get is: Variable ‘pressure’ does not exist in object
I can’t find any information anywhere that tells me what I am doing wrong so I am asking for HELP!
made sure the payload was json and the header was Content-Type and application/json and now I get the error:
Server sent HTTP status code 400 with body: {“code”:“InvalidContent”,“message”:“Invalid JSON: Unexpected token j”}