adding trailing slash at the end of put/delete calls