I set up applet and Web hook. But, can’t get the switch the led

Hello… I set up applet and Web hook. But, can’t get the switch the led. I am using digital pin D5 of nodemcu. In url, I gave http://188.166.206.43/ 84ece7fe5a954ffeb6f9f32ea21bd11a / update / D14. And method put, and application/Json, and body [“0”]. But, I am getting " Unable to make web request. Your server returned a 400" when try to use Google assistant. It is okay in blynk app, but I can’t do it with Google assistant

1 Like

You say that you’re using a PUT method, but your screenshot shows a GET.

Personally, I think you’re better using a GET, but the syntax needs to change slightly.

I just turned your LED off using this:

The url is:
http://188.166.206.43/84ece7fe5a954ffeb6f9f32ea21bd11a/update/D14?value=0

You might want to change your auth code, as anyone can now control your LED :open_mouth:

Pete.

1 Like

THanks for the reply. I used the put syntax and tried long time. Then gone for GET. Sorry for wrong screenshot. I am now outside. I will try when get back home. May be this time it will run. I check the command.

1 Like

Finally it worked.but, I have to give value 1 for led on and zero for led of

1 Like

Yes, that is normal operation for the GPIO14 pin with LED mounted between it and GND