The strange fact that we are facing is, the AT command is now accepting the URL and parameters provided (earlier we were coming across "Error: 400 Bad Request"), but the URL is NOT HIT even after \n
being included in the command. We are clueless at the moment on how to HIT the URL as it's the API which is going to increment the counter in the database, which is not happening even after successful command execution.
AT+CIPSTART="TCP","www.mydomain.com",80
**CONNECT**
**OK**
AT+CIPSEND=115
OK
GET /api/mywebapi.php?param1=01\r\nHTTP/1.1\r\nHost:mydomain.com
**busy s...**
**Recv 115 bytes**
**SEND OK**
**CLOSED**
** Denotes output of the AT commands.
CIPSEND
is expecting 115 bytes, and you're sending much less than that (60 by my count). Probably not related, but careful with your\r
and\n
- I think it will sent an actual` and
r`, rather than a linefeed. – Mark Smith Jan 6 at 11:17