"GET http://www.ic2pro.com:80/Wire/connector/set?id=68f27691-57a7-4c4c-a402&TEMPERATURE=22.69 HTTP/1.1"
I use the following Code to create this as follows:-
eth.println("GET http://" + String(server) + ":" + String(port) + "/Wire/connector/set?id=" + devId + "&TEMPERATURE=" + temperature + " HTTP/1.1");
Followed by:-
eth.println("Authorization: Basic " + auth);
eth.println("Connection: close");
eth.println();
Now I have tried so many variations of this line I have lost count,. including many different "client/eth.read" statments to see what is being returned,. these generally result in a 502 error or a 400 Error,.. as the 400 Error is a not found I have stuck with variations that give 502 errors,.. as this to me infers as you say there is something wrong with the presentation of the data,.. regrettably I am unable to identify what...
I have tried the HTTP line directly into a browser,. ( without the GET ) with different OS's,. different browsers, and different networks,.. however I am unsure how the "Authorization: basic Auth-base64code" line is able to follow in order to satisfy the login protocol etc. needless to say the single http line gives a 502 error.
Does there exist a python or something test script,.. that gives something that work to a test login?? Am I doing something just plain silly that has not hit me in the face...
Thanks for input.
Rgds