简体   繁体   English

请求URI返回HTTP 401

[英]Request URI returns HTTP 401

I am using Linkedin api along with python, django and linux. 我正在使用Linkedin api以及python,django和linux。 The problem I face is when I apply filters to the request uri. 我面临的问题是当我将过滤器应用于请求uri时。

Supposingly /v1/posts/{post_id}:(id,type,category,creator,title,summary,creation-timestamp,likes,comments,attachment,site-group-post-url) returns a xml for the data of the following post. 假设/ v1 / posts / {post_id} :( id,类型,类别,创建者,标题,摘要,创建时间戳记,喜欢,注释,附件,site-group-post-url)返回以下数据的xml发布。 But if I apply some filter to it ie 但是如果我对它应用一些过滤器即

/v1/posts/{post_id}:(id,type,category,creator,title,summary,creation-timestamp,likes,comments,attachment,site-group-post-url)?count=5&start=5 this would return a HTTP 401 UNAUTHORIZED / v1 / posts / {post_id} :( id,类型,类别,创建者,标题,摘要,创建时间戳记,喜欢,评论,附件,site-group-post-url)?count = 5&start = 5这将返回一个未经授权的HTTP 401

What am I doing wrong? 我究竟做错了什么? Please help asap 请尽快帮助

Regards 问候

Could your OAuth library be incorrectly calculating the request signature? 您的OAuth库可能会错误地计算请求签名吗?

Confirm that it matches the one generated by this page: 确认它与此页面生成的内容匹配:

https://developer.linkedin.com/oauth-test-console https://developer.linkedin.com/oauth-test-console

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM