Changing payload parameters to be sent as query instead of body data