我正在尝试使用Intuit和Curl访问客户数据。
Intuit对Java有很好的支持,但不支持PHP。
这是我写的代码,但是它显示了401Error http://tny.cz/6f55d7bb
发布于 2013-07-01 12:14:11
如果OAuth访问令牌已过期、被撤销或由于某些其他原因而无效,则HTTP响应代码为401。
所以你能试着验证一下访问令牌吗。
如果令牌无效,请生成新密钥并使用ApiExplorer工具进行验证
使用openssl - https://developer.intuit.com/docs/0020_customeraccountdata/007_firstrequest生成密钥
生成这些密钥后,您可以使用公钥创建示例应用程序。https://developer.intuit.com/docs/0020_customeraccountdata/009_using_customeraccountdata/0010_gettingstarted/0015_create_an_cad_integration
然后在apiexplorer工具- https://developer.intuit.com/apiexplorer中使用带有pwd(如果有)的.p12文件进行SAML断言
如果对你有效,请让我知道。
谢谢
https://stackoverflow.com/questions/17390379
复制相似问题