change http method