Chat freely about anything...

User avatar
By Michal Stehlik
#10993 Hi Guys,

I have problem with receiving response after sending GET request to jetty server which should response with simple text "Got it!".
I'm using following commands:

AT+GMR\r\n
00200.9.5(b1)
compiled @ Dec 25 2014 21:40:28
AI-THINKER Dec 25 2014
OK


AT+CWMODE=1\r\n
OK

AT+CWJAP="SSID","PSSWD"\r\n
OK

AT+CIFSR\r\n
+CIFSR:STAIP,"192.168.88.241"
+CIFSR:STAMAC,"18:fe:34:9e:de:95"
OK


AT+CIPMUX=1\r\n
OK

AT+CIPSTART=4,"TCP","192.168.88.244",80\r\n
4, CONNECT
OK


AT+CIPSEND=4,42\r\n
>
GET /test HTTP/1.1\r\nHost: 192.168.88.244\r\n\r\n
SEND OK (but here should be displayed response from test page I have (at least according to several videos on internet))

What am I doing wrong? Please help with any idea.
User avatar
By Michal Stehlik
#10995
MK1888 wrote:Do you have a web server in your local network at that address? Because that is what you are requesting.

Yes I have jetty server running on my local computer and according ipconfig IP address is correct. With browser, everything works fine.