Problem with Webhook JSON format for Supabase

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:

image

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!

Hello @Isaacbg84. There is ability to use only double quotes (“”) in custom JSON area.

There is only one datastream in one webhook. Not possible with multiple datastreams.

OK, good to know the limitations of blynk webhook. This gives me a new idea to submit for platform improvement. Also, i have another idea for a possible workaround using strings to wrap other data types, if it works I will post it here.

Thank you.