R

Ravina • 3.96K Points
Extraordinary

Q. Which method in FastAPI is used to send a custom response with any content?

  • (A) CustomResponse
  • (B) BaseResponse
  • (C) Response
  • (D) OutputResponse
  • Correct Answer - Option(C)
  • Views: 22
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
The `Response` class allows returning any custom content, including raw bytes or HTML.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.