requesting class only when POST/PUT/DELETE/PATCH