Tell us about yourself!

Complete Your Profile
  • mamic2 commented on Khalilm's instructable Arduino Esp8266 Post Data to Website2 years ago
    Arduino Esp8266 Post Data to Website

    Hello, im doing the same project but posting data to easyiot using nano*esp8266. here my code but its not working, can you give me some help?thanksint 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) + "\r\n" + "EIOT-AuthToken: " + String(TOKEN) + "\r\n" + "Connection: close\r\n" + "Content-Length: 0\r\n" + "\r\n"; Serial.println(ccmmdd);//esp8266.print("AT+CIPSEND=");//esp8266.println(ccmmdd.length());delay(500);esp8266.print(ccmmdd);

    View Instructable »