Handle query params properly

* Handle both query params and posted params

[#78365570]