fix append the parameters to the query string for POST requests