server.handleClient();
Posted: Mon Nov 30, 2015 10:39 pm
So I am working on a simple esp-01 (client) to huzzah (server) project. In the main loop on the server we are calling server.handleClient();
On the client side in the loop we do a http get. If the result indicates a true condition, we get a temperature reading and then do a post back to the server. Piece-o-cake right?
Well the server gets the initial http_get but does not see the post. If we comment out the get and only do the post then the server sees that and responds.
Kind of stumped on why we can not do both a get and then a post back to back.
Any suggestions?
Glenn
On the client side in the loop we do a http get. If the result indicates a true condition, we get a temperature reading and then do a post back to the server. Piece-o-cake right?
Well the server gets the initial http_get but does not see the post. If we comment out the get and only do the post then the server sees that and responds.
Kind of stumped on why we can not do both a get and then a post back to back.
Any suggestions?
Glenn