Question discussion

Which HTTP status code indicates that a new resource has been successfully created, typically in response to a POST request?

1188Medium DSSSB TGT Computer Science 0 replies 1 views
0

Which HTTP status code indicates that a new resource has been successfully created, typically in response to a POST request?

  • A200
  • B204
  • C201
  • D301
Correct answer: C

Explanation

201 Created is returned when a request results in the creation of a new resource.

Discussion 0

Nobody has replied yet. Start the discussion!