我一直在修补trello API,发现自己陷入了通知部分.特别是,PUT请求和POST是关于标记通知读取或未读取.我不知道要进入哪个方向,因为它非常简单,
使用post方法的JavaScript请求https://api.trello.com/1/notifications/all/read?key[mykey]&token=[userstoken]
是的,我已经确定我有一个读写令牌.我得到的错误如下
key = [mykey]&token = [usertoken] HTTP/1.1 401 Unauthorized X-Powered-By:Express Cache-Control:max-age = 0,must-revalidate,no-cache,no-store X-Content-Type-选项:nosniff Strict-Transport-Security:max-age = 15768000 X-XSS-Protection:1; mode = block X-FRAME-OPTIONS:DENY Content-Type:text/plain Expires:Thu,01 Jan 1970 00:00:00 Content-Length:37 Vary:Accept-Encoding Date:Tue,2013年11月26日15:00: 13 GMT
归档时间: |
|
查看次数: |
701 次 |
最近记录: |