未经授权的 OAuth 令牌:在 POST 上向请求正文添加任何内容时,signature_invalid [英] Unauthorized OAuth Token: signature_invalid when adding anything to the request body on POST

查看:50
本文介绍了未经授权的 OAuth 令牌:在 POST 上向请求正文添加任何内容时,signature_invalid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当对每个文档执行请求正文中允许的任何过滤器或任何其他选项时,如下所示:https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/v2/0400_quickbooks_online/in...(quickbooks 在线 API 文档)我总是收到错误未经授权的 OAuth 令牌:signature_invalid"在我自己的应用程序以及位于此处的 API 工具中:https://developer.intuit.com/apiexplorer

When doing any filters or any other option allowed in the request body per documents like this: https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/v2/0400_quickbooks_online/in... (the quickbooks online API document) I always get the error "Unauthorized OAuth Token: signature_invalid" in my own application as well as the API tool located here: https://developer.intuit.com/apiexplorer

我放入请求正文的示例:PageNum=1&ResultsPerPage=20或者简单的 ResultsPerPage=20

Example of what I put in request body: PageNum=1&ResultsPerPage=20 or simply ResultsPerPage=20

我不确定为什么即使按照指令在 API Explorer 中也会发生这种情况,但确实如此.如果无法移动页面标记并显示更多结果以及过滤功能,我将无法使用您所看到的 API.

I am not sure why this would also happen in the API Explorer even per instruction but it does. Without the ability to move the page marker and show more results as well as being able to filter, I will simply not be able to use the API as you can see.

有什么想法吗?

推荐答案

这可能是 ApiExplorer 中的一个错误.我尝试使用 Mozilla 浏览器的 RestClient 插件.效果很好.

It could be a bug in ApiExplorer. I tried with RestClient plugin of Mozilla browser. It worked fine.

  • 方法 - 发布
  • 内容类型 - 应用程序/x-www-form-urlencoded
  • 分页过滤器 - PageNum=1&ResultsPerPage=1

快照

谢谢

这篇关于未经授权的 OAuth 令牌:在 POST 上向请求正文添加任何内容时,signature_invalid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆