Good day ,
Can anyone tell me how to write the following thingspeak write api html for a RP 2040 connect.
GET https://api.thingspeak.com/update?api_key=########&field1=0
Good day ,
Can anyone tell me how to write the following thingspeak write api html for a RP 2040 connect.
GET https://api.thingspeak.com/update?api_key=########&field1=0
so far i have this
String url="api_key=";
url += writeapiKey;
url += "&field1=";
url += float(value1);
client.println("POST /data HTTP/1.1");
client.println("Host: " + String(server));
client.println("Content-type: text/html");
client.println("Content-Length: " + String(url.length()));
client.println("Connect: close");
client.println();
client.println(url);
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.