Hi guys,
I have configured a ESP8266 as web server with AT commands. When the browser connects, it sends me a request GET /favicon.ico to which I want to reply with an ERROR 404 Not Found.
How can i do it in the data packet sent in the response to +IPD?
Thanks for your reply.
AT+ Command to reply HTTP GET with error
Re: AT+ Command to reply HTTP GET with error
Postby Her Mary » Tue Oct 31, 2017 7:51 pm
I think AT+CIPSEND sends the TCP data, so you need to make a HTTP packet of your error message "404 Not Found", and then send the HTTP packet by the CIPSEND command.
Who is online
Users browsing this forum: No registered users and 151 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.