Hi there
I'm trying to scrape some maritime weather info from the web using following code
// Make a HTTP request:
client.println("GET /nederland-nu/maritiem/scheepsweerbericht HTTP/1.1");
client.println("Host: knmi.nl");
client.println("Connection: close");
The serial monitor returns this:
Initializing SD card... initialization done.
Creating file.
connecting...
connected
HTTP/1.0 302 Found
Location: https://knmi.nl/nederland-nu/maritiem/scheepsweerbericht
Server: BigIP
Connection: close
Content-Length: 0
disconnecting.
Finished writing to file
The 302 redirect location is the same as the original, but with some BigIP server added. Google wasn't my friends att. Any suggestions welcomed!