Hello,
Ive been trying to use webhook to send some data to a cloud sql provder named supabase that listens to json format. So far it works ok but only with static data:
{ "var1 float": 12.00,
"var2 float": 12.0,
"var3 int": 1,
"device_serial string": "321"
}
I have read documentation on this at:
According to docs, i should format it like this:
{ "var1 float": "{device_pinValue}",
"var2 float": "{device_pinValue}",
"var3 int": "{device_pinValue}",
"device_serial string": "321"
}
Problem is that supabase requires that float numbers be sent withouth double quotes (“”). I get an error when seding data as docs and if i remove the double quotes, i get an error:
My question is: How i should format so that i can send dynamic data without “”?
Another question: ¿ How can i send other pin values from another datastream in same webhook?
Thank you!