404
This commit is contained in:
parent
50cde43e7c
commit
bc115ee1b3
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ void setup() {
|
|||
});
|
||||
|
||||
server.onNotFound([](AsyncWebServerRequest *request){
|
||||
request->send(404, "text/plain", "The content you are looking for was not found.");
|
||||
request->send(200, "application/json", "{'msg':'The content you are looking for was not found'}");
|
||||
});
|
||||
|
||||
// Send a GET request to <ESP_IP>/gpio?output=<inputMessage1>&state=<inputMessage2>
|
||||
|
|
Loading…
Reference in a new issue