最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

amazon web services - How to disable AWS REST API Gateway query parameter decoding sent to HTTP backend - Stack Overflow

programmeradmin1浏览0评论

AWS REST API Gateway decodes query parameters before sending them to HTTP integration backend. But it decodes space written as %20 into +, which is not acceptable for our solution. All chars should be decoded to the original value before encoding, so the integration backend should receive: (space) instead of +.

I have an OpenAPI specification used in Gateway. Part of it:

requestParameters:
  integration.request.querystring.param1: method.request.querystring.param1

I have the following questions:

  1. How can I disable query parameters' decoding on the Gateway side (before sending a request to integration backend)?
  2. How can I workaround this issue to always receive on the server the original value of query parameter (before encoding) but without moving to solution where value is being sent in request body?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论