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

AWS REST API Gateway decodes query parameters before sending them to HTTP integration backend. But it d

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?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744967420a4603765.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信