未经授权的OAuth令牌:signature_invalid时添加任何对POST请求主体 [英] Unauthorized OAuth Token: signature_invalid when adding anything to the request body on POST

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

问题描述

在做任何过滤器或允许每个这样的文件请求主体的任何其他选项:<一个href=\"https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/v2/0400_quickbooks_online/in\" rel=\"nofollow\">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

什么,我把在请求体例子:
页次= 1和; ResultsPerPage = 20
或者干脆ResultsPerPage = 20

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

我不知道为什么,这也将发生在每甚至指令API浏览器,但它确实。如果没有移动的页面标记,表现出更多的成果以及能够过滤的能力,我将根本无法使用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的形式urlen codeD

  • 寻呼过滤器 - 页次= 1&安培; ResultsPerPage = 1

快照

感谢

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

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