2016-12-19 4 views
0

www.requestmaker.com을 통해 어떻게 ThingSpeak에 POST를 보낼 수 있습니까?POST를 ThingSpeak에 보내는 방법?

나는이 사용하고 있습니다

POST /update HTTP/1.1 
Host: api.thingspeak.com 
Connection: close 
X-THINGSPEAKAPIKEY: XXXXXXXXXXXXXXXX 
Content-Type: application/x-www-form-urlencoded\ 
Content-Length: 24 
field1=34&field2=1 

을하지만이 응답을 얻을 :

HTTP/1.1 404 Not Found 
Content-Type: text/html; charset=utf-8 
Content-Length: 728 
Connection: close 
Status: 404 Not Found 
X-Request-Id: 36c8113c-3671-4302-85fa-f3ecdba364dc 
X-Runtime: 0.019035 
X-Powered-By: Phusion Passenger 4.0.57 
Date: Mon, 19 Dec 2016 02:36:42 GMT 
Server: nginx/1.9.3 + Phusion Passenger 4.0.57 

모든 솔루션을?

+0

응답이 404 ... 올바른 URL이 1000 % 확실합니까? – Northys

답변

1

올바른 API 키가 있는지 확인하십시오. '0'과 'O'문자를 잘못 입력하는 것이 일반적입니다. 어떤 API 끝점에 편지를 쓰고 있습니까? ThingSpeak 포럼에 대한 도움을 얻을 수 있습니다 : http://community.thingspeak.com/forum/

관련 문제