Search found 2 matches

by Borisw37
Thu Aug 30, 2018 12:36 am
Forum: General Discussion
Topic: Get data from HTTP_POST
Replies: 1
Views: 8476

Get data from HTTP_POST

Hello, I'm writing a server application using the AsyncTCP.h and ESPAsyncWebServer.h librarires. I'm able to receive POST requests and execute a function. server.on("/LED", HTTP_POST, [](AsyncWebServerRequest *request){ request->send(200, "text/plain", "Post route"); handleLED(); }); How do I handle...
by Borisw37
Sun Aug 05, 2018 6:10 pm
Forum: General Discussion
Topic: Serving multiple files / strings?
Replies: 1
Views: 3366

Serving multiple files / strings?

Is there a way to return multiple files / strings, one after another. Let's say I have a page that contains index.html, main.css, detail.css? I'm using the AsyncTCP.h and ESPAsyncWebServer.h libraries. So something like this...? Or do I have to concatenate the strings 1st and send it all at once? co...