10:31 am

February 19, 2018

10:32 am


Moderators
March 7, 2017

You can update a channel with GET or POST. Have a look at the documentation for Write Data. You can send a JSON object to a single field, or you can write it to multiple fields. Each field has a 255 character limit. You may have to reformat your JSON object to get it in the correct format if you are writing multiple fields at once using this method.
You can also update with many entries at the same time using the bulk write method for JSON data.
8:00 pm


Moderators
March 7, 2017

Here is a sample JSON POST to the update endpoint.
POST /update.json HTTP/1.1
Host: api.thingspeak.com
Content-Type: application/json
{
"api_key": "CHANNEL_WRITE_API_KEY",
"created_at": "18-04-23 23:25:21 +0200",
"field1": "avalue",
"field3": 61,
"field4": 52,
"field5": 43,
"latitude": "-4",
"longitude": "2.2",
"status": "Perfect"
}
Most Users Ever Online: 166
Currently Online:
32 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
rw950431: 272
Vinod: 240
piajola: 95
turgo: 70
vespapierre: 63
Adarsh_Murthy: 62
Member Stats:
Guest Posters: 1
Members: 8665
Moderators: 1
Admins: 2
Forum Stats:
Groups: 3
Forums: 14
Topics: 1600
Posts: 5760
Newest Members:
Advantagetreeexperts, laundrydaddyuk, techhhelp5, ken, tran, huldacormierModerators: cstapels: 460
Administrators: Hans: 405, lee: 457