Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/api/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Tumblr API v2获取后错误未授权_Api_Post_Oauth 2.0_Tumblr - Fatal编程技术网

Tumblr API v2获取后错误未授权

Tumblr API v2获取后错误未授权,api,post,oauth-2.0,tumblr,Api,Post,Oauth 2.0,Tumblr,当我发表一篇只有几个字的文章时,这是可以的,但是当我试图发表一篇超过100字的文章时,会出现错误“未授权” 这是post请求(我更改了oauth令牌以使其公开) POST/v2/blog/mysite.tumblr.com/POST HTTP/1.1 TE:deflate,gzip;q=0.3 连接:TE,关闭 授权:OAuth OAuth\u nonce=“b9282afe60b7f”、OAuth\u timestamp=“13462177”、OAuth\u version=“1.0”、OAu

当我发表一篇只有几个字的文章时,这是可以的,但是当我试图发表一篇超过100字的文章时,会出现错误“未授权”

这是post请求(我更改了oauth令牌以使其公开)

POST/v2/blog/mysite.tumblr.com/POST HTTP/1.1 TE:deflate,gzip;q=0.3 连接:TE,关闭 授权:OAuth OAuth\u nonce=“b9282afe60b7f”、OAuth\u timestamp=“13462177”、OAuth\u version=“1.0”、OAuth\u consumer\u key=“CnVDC1PdI5d26DRZpJ88JYuO”、OAuth\u令牌=“QTIELPAQWSIZ2WYBFOUEZMQJKGRDLVEGLJW7XJO”、OAuth\u签名方法=“HMAC-SHA1”、OAuth\u签名=“GG8YWH0IQC6A8JPWRYKTIE%3D” 主持人:api.tumblr.com 用户代理:libwww-perl/6.04 内容长度:781 内容类型:application/x-www-form-urlencoded 身体=古代+领域+领域+神秘+(ADOM)+是+最成功的+流氓+游戏+有史以来+创造了%2C+和+下载+百万+和+更多+每天。+ADOM+是+第一个+流氓+添加+a+真实+角色扮演+体验+到+流氓+流派+和+它+激发了+无数+新+角色扮演%2流氓+游戏+你+可能+在过去+2+十年中看到过的+游戏。%C2%A0+rogum+是+发展中的nt+从+1994+到+2002年11月+2002%2C+当+last+build+发布时。+现在%2C%C2%A0creator+Thomas+Biskup+正在+复活%C2%A0it%2C+和+a%C2%A0crowd%C2%A0funding+campaign+on+Indiegogo。++这个+ADOM+的+new+化身+已经+超过了+its+资金+和+stretch+三个目标。+你可以+期待+以下+新+功能+游戏中的+2C+包括+a+完整+图表ical+版本和标题=Linux+资源和标签=Linux HTTP/1.1 401未经授权
你对这个问题的解决方案是什么?在发布过程中发现很多其他人都有相同的401问题(但是像/user/info这样的其他操作很好),但是没有人发布修复。 POST /v2/blog/mysite.tumblr.com/post HTTP/1.1 TE: deflate,gzip;q=0.3 Connection: TE, close Authorization: OAuth oauth_nonce="b9282afe60b7f",oauth_timestamp="13462177",oauth_version="1.0",oauth_consumer_key="CnVDC1PdI5d26DRZpJ88JYuO",oauth_token="qTIeLpAQWSIZ2wYBFoUeZMQjkgRDlvEGLjJw7xjo",oauth_signature_method="HMAC-SHA1",oauth_signature="GG8ywH0iq94C6a8jpwryktIE%3D" Host: api.tumblr.com User-Agent: libwww-perl/6.04 Content-Length: 781 Content-Type: application/x-www-form-urlencoded body=Ancient+Domains+of+Mystery+(ADOM)+is+one+of+the+most+successful+roguelike+games+ever+created%2C+with+downloads+in+the+millions+and+many+more+every+day.+ADOM+was+the+first+roguelike+to+add+a+true+role-playing+experience+to+the+roguelike+genre+and+it+has+inspired+countless+numbers+of+new+role+playing%2Froguelike+games+you+may+have+seen+in+last+2+decades.%C2%A0+ADOM+was+in+development+from+1994+until+November+2002%2C+when+the+last+build+was+released.+Now%2C%C2%A0creator+Thomas+Biskup+is+resurrecting%C2%A0it%2C+with+a%C2%A0crowd%C2%A0funding+campaign+on+Indiegogo.++This+new+incarnation+of+ADOM+has+already+surpassed+its+funding+and+three+stretch+goals.+You+can+expect+following+new+features+in+the+game%2C+including+a+full+graphical+version&title=Linux+resources&tags=linux HTTP/1.1 401 Not Authorized