update for passing data in case of get and delete at the end of the url