change http request method