Closed miwied closed 2 years ago
Sorry I forgot to put the Serial.println(request->responseHTTPcode());
in my code.
Now if I am making a request to a valid-endpoint I am getting response code, but weird ones. For example -13 or -55, what does this mean?
Here is my new test code: https://gist.github.com/miwied/d5592fad97739aab9b83f853c661a663
To get more debugging codes, use
// Level from 0-4
#define ASYNC_HTTP_DEBUG_PORT Serial
#define _ASYNC_HTTP_LOGLEVEL_ 4
Sorry I don't have time to help with these mundane issues, you're on your own to do more research before doing something hastily.
I'm closing the issue now as it's not a bug of the library.
Here is my test code: https://gist.github.com/miwied/98c64c6a1f60ab90b46d12e555d8e813
When I am manually making http get requests to an invalid endpoint I get no error response. The "requestOpenResult" boolean is true all the time, no matter if the endpoint is reachable or not.