Loading…
A short voice session: one question, one follow-up, then instant feedback — up to 5 minutes.
GET reads, POST commonly creates or triggers an operation, PATCH partially modifies, and DELETE removes a resource.
GET /users/42 reads a user and should not intentionally change application state. POST /users can create one. PATCH /users/42 can change selected fields. DELETE /users/42 requests removal. A method expresses semantics rather than access control: every applicable route still needs authorization. GET is safe, and DELETE is idempotent in intended effect even if repeated responses differ; POST is not generally idempotent.