Which method and status code are typical for successfully creating a resource?
- PUT, 404
- DELETE, 204
- POST, 201 Created
- GET, 200
Answer
C) POST, 201 Created
Creation with POST returns 201.
Computer Science MCQ · More Web Services: Accessing and Creating MCQs · Practise