-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Component: DocumentationRelated to Arduino's documentation contentRelated to Arduino's documentation content
Description
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.
Metadata
Metadata
Assignees
Labels
Component: DocumentationRelated to Arduino's documentation contentRelated to Arduino's documentation content