adds GET/POST/PUT/DELETE