skeleton of GET and DELETE handlers