API Request for writing a Channel Feed


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 el 3 de Mayo de 2021 (Editada a las el 10 de Mayo de 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 el 10 de Mayo de 2021

Thank you so much for your response!!

Take care!!!

Etiquetas

Aún no se han introducido etiquetas.