convert all the request from get to use proper GET, POST, PUT and delete protocol