I'm using the proxy integration with my Java lambda function. The input for the lambda handler is a JSON object that represents an incoming request. It has a body, headers, query params and so on. But it doesn't include the source URL that is parsed by the API Gateway for the body, query params and etc. Is there a way to get it?
The thing is API Gateway doesn't support arrays in query parameters. Example: /endpoint?numbers=1&numbers=2
. Seems, the only way to pass an array is to pass it as a JSON array string /endpoint?numbers=[1,2]
but it is not always suitable. So I want to parse the URL by myself.