Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 5 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