请求 URI 返回 HTTP 401
我正在使用 LinkedIn api 以及 Python、Django 和 Linux。我面临的问题是当我将过滤器应用于请求 uri 时。
假设 /v1/posts/{post_id}:(id,type,category,creator,title,summary,creation-timestamp,likes,comments,attachment,site-group-post-url)
返回一个以下帖子的数据为 xml。但是如果我对其应用一些过滤器,即
/v1/posts/{post_id}:(id,type,category,creator,title,summary,creation-timestamp,likes,comments,attachment,site-group-post- url)?count=5&start=5
这将返回 HTTP 401 UNAUTHORIZED
我做错了什么?
I am using LinkedIn api along with Python, Django and Linux. The problem I face is when I apply filters to the request 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. But if I apply some filter to it i.e
/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
What am I doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的 OAuth 库是否错误地计算了请求签名?
确认它与此页面生成的匹配:
https://developer.linkedin.com/oauth-测试控制台
Could your OAuth library be incorrectly calculating the request signature?
Confirm that it matches the one generated by this page:
https://developer.linkedin.com/oauth-test-console