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
This library has given us some trouble when trying it out at a course in Sweden. The request to the server is not including the HOST and some servers tend to answer with a 404 error. It should be corrected to:
// Make a HTTP request:
client.print("GET ");
client.print(path);
client.println(" HTTP/1.0");
client.println();
client.print("HOST: ");
client.println(server);
client.println();
Where the last three lines are missing in the current example.
The text was updated successfully, but these errors were encountered:
This library has given us some trouble when trying it out at a course in Sweden. The request to the server is not including the HOST and some servers tend to answer with a 404 error. It should be corrected to:
// Make a HTTP request:
client.print("GET ");
client.print(path);
client.println(" HTTP/1.0");
client.println();
client.print("HOST: ");
client.println(server);
client.println();
Where the last three lines are missing in the current example.
The text was updated successfully, but these errors were encountered: