HttpClient thingSpeak;
...
thingSpeak.downloadString("http://api.thingspeak.com/update?key=XXXXXXX&field1=" + String(sensorValue), onDataSent);
void onDataSent(HttpClient& client, bool successful)
{
if (successful)
Serial.println("Successful!");
else
Serial.println("Failed");
}
Are there any sample code or example for doing HTTP Post?