merge the params from REST requests.