User manual
This command establishes a TCP connection to the website www.example.com.
Port 80 is the standard port for HTTP-queries. After confirmation of the connection
with OK you can enter the next command, which you already know:
AT+CIPSEND=40
You want to send a message through the connection you have just established,
after all. When you are asked to enter a text with >, first enter
GET / HTTP/1.1
and then push
[Enter]
.
[Enter]
will not appear on the serial monitor, but the
module will have received it. Then the message continues with
Host:www.example.com
followed by
[Enter]
twice. You need to send the inputs very quickly in sequence,
however. Best prepare a text document from which you can copy the lines quickly.
A long text is returned. The first part is the response of the server, containing
some information for the browser. The text after <!document html> is the website
that you can also see when you call the page www.example.com directly, but
purely text-based. A browser would interpret this text and present it in a form that
we understand.
Excerpt from the answer of the web server
This example shows the basics of the HTTP format. A client connects to a web
server. The DNS (Domain Name System) makes it possible to enter the domain
name in text form instead of the IP. It will forward the query to an IP that would be










