modify http method