change http get to post requests