wired up PUT/POST/DELETE