ESP8266WebServer Redirect
Posted: Wed May 25, 2016 11:41 pm
Hello all,
I'm looking to make it so that when someone goes to /findme my esp blinks an led and returns me to /, I've tried changing the 200 to 307 for a temporary redirect and the text to the url ( server.send(307, "text/url", "/"); ) without luck.
How should I be doing sending a redirect as a response? (without using a html page redirect)
Cheers
Sol
I'm looking to make it so that when someone goes to /findme my esp blinks an led and returns me to /, I've tried changing the 200 to 307 for a temporary redirect and the text to the url ( server.send(307, "text/url", "/"); ) without luck.
How should I be doing sending a redirect as a response? (without using a html page redirect)
Cheers
Sol