This is not in the correct format for a HTTP request.
- The GET URL does not contain the the host.
- After you do a
Conection: clone\r\n\r\n
you try to send more HTTP headers (Host:
), but with the double\r\n
you’ve already closed ended the HTTP request - After that there’s invalid C++ code
client.println F("Connection: close");
should not compile since there are missing( )
around the argument.
The request should look like e.g.
GET /slider1?value=100 HTTP/1.1
Host: 192.168.1.210
Connection: close
Try and adapt the code for that.