# AWS API Gateway gotchas

Looks like you can't get the raw request url or query parameters:-


-  [Query parameters get in different order](https://mobile.twitter.com/yongfook/status/1348523844361809920) .
-  [You can't pass parameters with same key to simulate arrays](https://stackoverflow.com/questions/49372722/how-to-get-aws-api-gateway-invoke-url-in-an-aws-lambda-function?noredirect=1&lq=1) .
-  [API Gateway already decoding the query params so if your params has some esoteric encoding, tough luck for you](https://stackoverflow.com/questions/52777868/accessing-raw-url-using-aws-api-gateway) .

The suggested workaround seems if you need to access raw data, don't pass it as query params, put it in the request body instead.

