发布二进制文件时使用 Postman 访问 AWS API 网关的 AWS 签名错误 [英] AWS Signature Error using Postman to access the AWS API Gateway when posting a binary
问题描述
在使用原始 JSON 执行 GET 请求甚至 POST 请求时工作正常.但是发送文件会返回此错误:
Works fine when doing a GET request or even a POST request with raw JSON. But sending a file returns this error:
我们计算的请求签名与您提供的签名不匹配.请检查您的 AWS 秘密访问密钥和签名方法.有关详细信息,请参阅服务文档.此请求的规范字符串应该是 'POST......."
"The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details. The Canonical String for this request should have been 'POST......."
凭据绝对正确.
推荐答案
这是 7 月 3 日发布的已知问题:https://github.com/postmanlabs/postman-app-support/issues/3232
This is a known issue posted on 3rd July: https://github.com/postmanlabs/postman-app-support/issues/3232
等待更新
这篇关于发布二进制文件时使用 Postman 访问 AWS API 网关的 AWS 签名错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!