How to set up a JSON for multiple variables in a webhook integration


This is what I have so far and looking at other pieces of code I’ve tried this: Particle.publish(“thingSpeakWrite_batterytest”, “{ “1”: “” + String(battvolts) + “”, “k”: “” + key +”" }", 60, PRIVATE); and a handful of other variations of it. I’m mostly struggling with getting the code to play nice.