I'm using Chalice to build a fairly straightforward API on AWS Lambda & API Gateway.
I need a way to get access to the raw query string (i.e foo=bar&abc=123
). When accessing the app.current_request.query_params
dictionary, it's already been processed, such that any empty parameters (foo=&bar=
) have been stripped out.
Unfortunately I'm working with a third-party API that sends a signed hash value in the query string, based off the raw query string. I can't verify it without the original, unaltered query string. Is there any way to access it other than current_request.query_params
?