Quantcast
Channel: ThingSpeak IoT Community - All Forums
Viewing all articles
Browse latest Browse all 1833

davidjb on XML http request for clear a channel

$
0
0

I'm seeing the same as dirkdm, anything involving DELETE methods fails on a private channel:

  • Clearing a channel feed (standard): curl -i -X DELETE 'https://api.thingspeak.com/channels/12345/feeds?api_key=XXXXX results in a 302 Found and a redirection to https://api.thingspeak.com/login
  • Clearing a channel feed (JSON): curl -i -X DELETE 'https://api.thingspeak.com/channels/12345/feeds.json?api_key=XXXXX results in a 401 Unauthorized
  • Clearing a channel feed (XML): curl -i -X POSDELETE 'https://api.thingspeak.com/channels/12345/feeds.xml?api_key=XXXXX results in a 502 Bad Gateway
  • Deleting a channel: curl -i -X DELETE https://api.thingspeak.com/channels/12345?api_key=XXXXX  results in a 302 Found and a redirection to https://api.thingspeak.com/login

All basic troubleshooting (eg wrong key) passes; this is a private channel and GET work successfully when an API key is passed and other POSTs to update the data are fine.

How does one officially 'report' all these issues with the API?


Viewing all articles
Browse latest Browse all 1833

Trending Articles