S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which response class is used to return plain text in FastAPI?

  • (A) PlainResponse
  • (B) TextResponse
  • (C) PlainTextResponse
  • (D) RawText
  • Correct Answer - Option(C)
  • Views: 18
  • Filed under category Fast API
  • Hashtags:

Explanation by: Shyam Dubey

`PlainTextResponse` is used to return plain text responses.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.