Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enter code here
- url = "/forms/ajaxDeviceValue";
- Serial.print("requesting URL: ");
- Serial.println(url);
- client.print(String("GET ") + url + " HTTP/1.1rn" +
- "Host: " + host + "rn" +
- "Connection: closernrn"
- +"Content-Type: application/json");
- while (client.connected()) {
- line = client.read();
- Serial.print(line);
- readJsonResponse += line;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement