Ok, I’m getting closer. I’m using the Particle webhook builder. It is a very helpful tool, but I still don’t understand the code you offered, @legoguy. I pasted your code into the JSON builder and it shows nicely in the webhook builder tool. However, I still don’t understand how you define all your variables. Could you paste all your code including void setup and declaring all your variables??
For simplicity, my only sensor is a DHT22. I’ll only passing temp and humidity.