set response type on POST and PUT
response and params for DELETE