You are designing endpoints to create and update a user resource. When would you choose POST, PUT, and PATCH?
Follow-up questions
- What status code should a successful DELETE return, and why?
- How would you support upsert semantics with PUT?
#http#methods#rest#api-design