change http methods to get