I am running a tomcat server on 8080 port on a raspberry pi 3. I am trying to send GET and POST requests from ESP8266 to a web project I deployed on the server. Below I give sequence of AT commands I used.
AT+CWMODE=1
OK
AT+CIPMODE=0
OK
AT+CIPMUX=1
OK
AT+CIPSTART=0,"TCP","192.168.244.140",8080
0,CONNECT
OK
AT+CIPSEND=0,256
OK
>
Here, I sent a GET request using,
GET /HelloPi/HelloWorldServlet
But, it doesn't show up on the Serial Monitor, and then immediately the connection closes.
Is there anything I am doing wrong? Or am I missing something? Any help is appreciated.
Thank you,
Vishnu.