【发布时间】:2015-12-15 23:47:38
【问题描述】:
谁能帮我理解这个入袋请求有什么问题?
curl -Li
http://getpocket.com/v3/oauth/request
-X POST
-H "Content-Type: application/json"
-H "X-Accept: application/json"
-d "{\"consumer_key\":\"xxxx-xxxxxxxxx\",\"redirect_uri\":\"http://www.google.com\"}"
我得到一个
< X-Error: Missing consumer key.
< X-Error-Code: 138
返回。
xxxx 位确实是我在创建应用程序时从网站获得的密钥,我也尝试过在 curl 上使用和不使用 -Li 选项,但没有区别。
我已经按照 here 的指南进行操作 - 我确定我在某个地方犯了一个愚蠢的错字,但我看不到它在哪里。
【问题讨论】:
标签: pocket