Lost on how to read client (JSON) data as a webserver?
Posted: Thu May 25, 2017 12:05 pm
I'm sure there's a really simple answer here and maybe I'm Googling for the wrong thing but I can't for the life of me figure out how to read data from the client when I'm the webserver. Just how to handle posts to specific URL's. For example...
Code: Select all
ESP8266WebServer server(80);
server.on("/config", handle_config);
//////
void handle_config(){
//I want to intercept a json telegram from my client here
//I will store it in a buffer and pass it to a JSON parsing function
}