Fixed a crash when no params were passed to a POST request