the code I have is this:
// Read the entire response and flush it to Serial output
while(client.available()){
String line = client.readStringUntil('\r');
Serial.print(line);
if(!strcmp(line.c_str(),"OFF")){
Serial.println(" -> True");
} else {
Serial.println(" -> False");
}
-> False is returned for everything
Request sent - waiting for reply...
HTTP/1.1 200 OK -> False
Content-Type: text/html; charset=UTF-8 -> False
Content-Length: 3 -> False
Date: Tue, 25 Apr 2017 18:02:28 GMT -> False
Accept-Ranges: bytes -> False
Server: LiteSpeed -> False
Connection: close -> False
-> False
OFF -> False
Connection closed.