About Blynk Api

hai… i have been trying to write a pin to high using api call but the curl almost left me hanging for 2 minutes and then it says failed to connect, please help me with API
curl command :
curl --include --request PUT --header “Content-Type: application/json” --data-binary “[
“1”
]” ‘http://cloud.blynk.cc:8080/e99908e11ee44dc582f05e20841f****/pin/gp2

im using ESP-01

Hello.

Should be http://blynk-cloud.com/e99908e11ee44dc582f05e20841f****/pin/D2

Please have a look in http://docs.blynkapi.apiary.io/

now it says wrong pin format…

I’m edited text a bit. Should be D2 as pin. Not gp2

thanks alot… worked perfectly…

1 Like