I am trying to build an HTTP server with an AVR + ESP8266.
I can send commands back and forth via telnet, but now I want to implement a web interface.
As a starting point I tried to setup a website that outputs "text" however, the browser displays an empty page. Can someone please let me know the minimum requirements for the page to be interpreted as HTML?
telnet 192.168.2.26 81
Trying 192.168.2.26...
Connected to 192.168.2.26.
Escape character is '^]'.
GET / HTTP/1.1
AVR answer:
HTTP/1.1 200 OK
Content-Type: text/html
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>Zeitschaltuhr</title></head>
<body>
Text
</body></html>
Connection closed by foreign host.