Get, put, delete on /api/resource