Hello!
I’m trying to implement API https requests, and after reading the official documentation and checking the built in example sketch in the lib, I see they are different…
to update value:
on the website:
https://blynk.cloud/external/api/update?token=ffujYGgbf805tgsf&v1=100
in the sketch:
httpRequest("GET", String("/external/api/update?token=") + BLYNK_AUTH_TOKEN + "&pin=V1&value=" + value, "", response)
…which would result in “/external/api/update?token=ffujYGgbf805tgsf&pin=V1&value=100”
to read value:
on the website:
https://blynk.cloud/external/api/get?token=Rps15JICmtRVbFyS_95houlLbm6xIQ2L&v1
in the sketch:
httpRequest("GET", String("/external/api/get?token=") + BLYNK_AUTH_TOKEN + "&pin=V1", "", response)
…which would result in “/external/api/update?token=ffujYGgbf805tgsf&pin=V1”
so I think there is bug in the example sketch. Can someone please look into this?