Thingworx Protocol with ESP8266
Hi, Team.
I´m use the ESP12F in my board, to communicate with TX.
I´m use the code bellow to update my Things.
String fullRequestURL = String(server) + "/Thingworx/Things/" + ThingName + "/Properties/" + Property1 + "?method=PUT&value=" + d + "&appKey=" + String(APPKEY);
http.begin(fullRequestURL);//Specify request destination
http.addHeader("Accept",ACCEPT_TYPE,false,false);
http.addHeader("Content-Type","application/json",false,false);
int httpCode = http.sendRequest("PUT", d);
The httpCode has answer -1.
In reference table, -1 it´s 404 to web server. But the server keeps on line. Also I copy and paste the generated URL, the Property Thing has updated.
Regards.
Telles.

