easyiot cloud not receiving AT commands

7 years 4 months ago #3284 by mamic2
Hello guys,
i have my nano+esp8266 (i cant use esp8266 alone for some reasons).
The problem is that when i try to POST a request to update a sensor value, easyiot is not able to receive it if i use AT commands. On the other hand, if i use other ways to send POST request (eg via website) it works and value gets updated.
here the code,please let me know if its a problem of easyiot Authorization or my mistake
int t=40;
String url = "";
url += "POST /RestApi/v1.0/Parameter/" + String(PARAM1_ID) + "/Value/" + t;

String ccmmdd=String(url+" HTTP/1.1\r\n") +
"Host: " + String(IP) + ":" + String(PORT) + "\r\n" +
"EIOT-AuthToken: " + String(TOKEN) + "\r\n" +
"Connection: close\r\n" +
"Content-Length: 0\r\n" +;


Please Log in or Create an account to join the conversation.

Time to create page: 0.715 seconds

Forum latest

  • No posts to display.