DevAtlas

Learn

  • Dashboard
  • Learning Paths
  • All Categories
  • Topics

Practice

  • Interview Questions
  • Flashcards
  • Quizzes
  • Study Plans

Personal

  • Bookmarks
  • Notes
  • Progress
  • PDF Library
  • Settings
  • About
  1. Interview Questions
  2. You are designing endpoints to create and update a user resource. When would you choose POST, PUT, and PATCH?
0%
ScenarioBeginnerBackend

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?

Related topics

HTTP MethodsREST API FundamentalsHTTP Status Codes
#http#methods#rest#api-design