Hi. I am trying to clear my channel feed using my channel Id and USER_API Key, but all the time I got "provide proper authentication details". Thanks in advance.

조회 수: 1 (최근 30일)
My line code is very simple: curl -v --request DELETE https://api.thingspeak.com/channels/My Channel ID/feeds.json
api_key=My User APY Key

답변 (1개)

Geoff Hayes
Geoff Hayes 2021년 12월 20일
@Carlos A. Jorge - from the clear channel page, the code for POSTMAN is something similar to the above, but the CURL is a little more complex. I entered their example into POSTMAN (do you have this app?) and then converted to CURL to get the following
curl --location --request DELETE 'https://api.thingspeak.com/channels/<channelID>/feeds.json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'api_key=1234567890'
What happens if you try the above?

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

Help CenterFile Exchange에서 ThingSpeak에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by