modify http get and post