API Request for writing a Channel Feed

Ramakrishna Narasimha Swamy on 1 May 2021
Latest activity Edit by Christopher Stapels on 10 May 2021

Hello, I am a beginner for IoT. I found ThingSpeak is an awesome platform for IoT. I am having a problem in the API write request. Whenever we send API request for writing a channel feed, the URL return 0, if is is failure and return a non zero value for success. Is there any way to capture this data? Also, is there any way to block the return of the value from this API.

Thanks...

Christopher Stapels
Christopher Stapels on 3 May 2021 (Edited on 10 May 2021)

Are you sending data from a device? I recommend you try your browser address bar first. Use the format https://api.thingspeak.com/update?api_key=YOUR_WRITE_KEY&field1=120 And see what you get. Then you can make sure the syntax is correct for the device.

Ramakrishna Narasimha Swamy
Ramakrishna Narasimha Swamy on 10 May 2021

Thank you so much for your response!!

Take care!!!

Tags

No tags entered yet.