ESP8266 AT Mode GET Request - No Body
Posted: Tue Jun 05, 2018 10:42 am
Not sure if any of you are familiar with the esp8266 using it's AT Command firmware ?
I have successfully connected and sent the request to the webserver which responded correctly, however it only appeared to respond to CIPSEND with the header and did not send the body at all.
I realise this is not much to go on, but someone else may have been through this before me and can stop me re-inventing the wheel
I have successfully connected and sent the request to the webserver which responded correctly, however it only appeared to respond to CIPSEND with the header and did not send the body at all.
Code: Select all
TX: b'AT+CIPSEND=50\r\n'
RX: b'AT+CIPSEND=50\r\r\n'
RX: b'\r\n'
RX: b'OK\r\n'
RX: b'> '
RX: b'>GET /text.html HTTP/1.1\r\nHost: iot.somesite.net\r\n\r\n'
RX: b'\r\n'
RX: b'Recv 50 bytes\r\n'
RX: b'\r\n'
RX: b'SEND OK\r\n'
RX: b'\r\n'
RX: b'+IPD,348:HTTP/1.1 200 OK\r\n'
RX: b'Server: n'