You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used the latest released firmware or have updated my ESP-AT branch (master or release) to the latest version and checked that the issue is present there.
I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
I am working with esp-at.
I can successfully send a post request using:
AT+HTTPCPOST
After sending the post request, I got the following output with SEND OK which means that it is successful.
However, I can't get the error code. According to the document, it says to AT+HTTPCLIENT to get the error code but that always results in an error.
Kindly help on how to get HTTP error code after post request.
The text was updated successfully, but these errors were encountered:
@Rsaliu i'm sorry that AT+HTTPCPOST command does not provide a HTTP errrno after post request. it always returns the ERROR if errno > 400.
We will consider whether to add an HTTP error code in this case. As a workaround, you can catch the errno in esp_http_client_get_status_code() API, and send it by esp_at_port_write_data().
Answers checklist.
General issue report
I am working with esp-at.
I can successfully send a post request using:
AT+HTTPCPOST
After sending the post request, I got the following output with SEND OK which means that it is successful.
However, I can't get the error code. According to the document, it says to AT+HTTPCLIENT to get the error code but that always results in an error.
Kindly help on how to get HTTP error code after post request.
The text was updated successfully, but these errors were encountered: