To send data to ThingSpeak, we must do the following:
- We construct an HTTP request that specifies the write API key for the channel and what data needs to be posted.
- Once the channel has been created, click on the channel name and then click on the API Keys tab. You should see two keys, as shown here:
- Make a note of the Write API Key. This key is used when we want to perform write operations.
- Now, we will construct the GET URL that we will use to send the data: https://api.thingspeak.com/update?api_key=R9XY4AXEG52DJHIT&field1=25&field2=30.
- Update the previous URL with your Write API Key. The first URL field corresponds ...