Which method and status code are typical for successfully creating a resource?

  1. PUT, 404
  2. DELETE, 204
  3. POST, 201 Created
  4. GET, 200
Answer

C) POST, 201 Created

Creation with POST returns 201.

Computer Science MCQ · More Web Services: Accessing and Creating MCQs · Practise