R

Ravina • 3.96K Points
Extraordinary

Q. What is `status.HTTP_201_CREATED` in FastAPI?

  • (A) A constant for 201 status code
  • (B) A middleware function
  • (C) A redirect code
  • (D) A request header
  • Correct Answer - Option(A)
  • Views: 20
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina

`status.HTTP_201_CREATED` is a predefined constant representing HTTP status 201.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.