AT Commands ESP8266 Arduino IDE serial monitor not print any data from server.

I am new in arduino and ESP8266 module. I am still learning about AT command. But i found this problem:

1.My website code (index.html)-http://nyalalampu.atwebpages.com:

<?php ECHO $_GET['subject']; ?> ---------------------------------------------

2.My AT commands (In Arduino IDE Serial Monitor)


AT+CIPSTART="TCP","nyalalampu.atwebpages.com",80

CONNECT

OK
AT+CIPSEND=29

OK

Recv 29 bytes

SEND OK

+IPD,391:HTTP/1.1 408 Request Timeout
Date: Sat, 10 Oct 2020 17:00:24 GMT
Server: Apache
Content-Length: 221
Connection: close
Content-Type: text/html; charset=iso-8859-1

408 Request Timeout

Request Timeout

Server timeout waiting for the HTTP request from the client.

CLOSED

After > i put

GET /?subject=anis HTTP/1.0

My question is why it not print anis in Arduino IDE Serial Monitor? It just show 408 Request Timeout
I hope someone can tell me what's wrong with my code.TQ

It looks like the server isn't receiving your HTTP request.
I don't know how ESP AT commands work but in HTTP protocol you need to send two "\r\n" empty lines after each HTTP request. Like so:
"GET /?subject=anis HTTP/1.0 \r\n\r\n"

In any case

  • ESP8622 acting just as the WiFi-module for an Arduino
  • ESP8266 acting as the main microcontroller itself doing WiFi and switching IO-Pins etc.

I would program the ESP8266 with the arduino-IDE.
This At-firmware is a big hassle

If you program the ESP8266 with the Ardunio-IDE you just
install additional board url
choose the right ESP8266-board
include WIfI-libraries and there you go.

If you are using these super-tiny ESP-01-boards: whenever you can afford to spend another 5-7 dollars to buy a node-MCU-board or even 9-12 dollars to buy an ESP32 board I would do so.

here is the link how to do it
how-to-install-esp8266-board-arduino-ide

best regards Stefan