Hello,
i've got a strange problem and i really don't understand what to do!
This is the code:
if (client.connect("192.168.1.66", 80)) {
Serial.println("connected");
client.println("GET /openenergymonitor/api/post?apikey=5eb553b60df99202de5846fb306792e3 HTTP/1.0");
Serial.println("disconnecting.");
client.stop();
}
When i upload the program (compile without errors) the arduino ethernet will remain locked and doesn't execute the code.
If i remove the line with the "GET..." string it works.
Do i have to write special characters in a different way?
Thanks!