Question discussion

In RESTful API design, which HTTP status code should be returned when a resource is successfully created via a POST request?

596Medium DSSSB TGT Computer Science 0 replies 1 views
0
In RESTful API design, which HTTP status code should be returned when a resource is successfully created via a POST request?
  • A200 OK
  • B201 Created
  • C204 No Content
  • D301 Moved Permanently
Correct answer: B

Discussion 0

Nobody has replied yet. Start the discussion!