R

Ravina • 3.96K Points
Extraordinary

Q. Which status code should be used when a new resource is successfully created?

  • (A) 200
  • (B) 202
  • (C) 204
  • (D) 201
  • Correct Answer - Option(D)
  • Views: 19
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
`201 Created` is the standard HTTP status code for successful resource creation.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.