api PUT and DELETE practice