10 years, 9 months ago.

HTTP Client Return Codes

Hello,

I using the new EthernetInterfaceLib with mbed-rtos and the HttpClient from https://mbed.org/users/donatien/code/HTTPClient/

Now a get always return value 8 and no HTTPError.

What is Error 8?

    HTTPClient http;
    char str[512];
    int ret = http.get("http://wwww.1wiki.de/baustelle.html", str,5000);
    if (!ret)
    {
      printf("Success %i",strlen(str));      
    }
    else
    {
      printf("Error - ret = %d - HTTP return code = %d\n", ret, http.getHTTPResponseCode());
    }

I have a IP, eth is up

1 Answer

10 years, 9 months ago.

  • up*