R

Ravina • 3.59K Points
Extraordinary

Q. How do you return a redirect response in FastAPI?

  • (A) RedirectResponse
  • (B) HTTPRedirect
  • (C) ReturnRedirect
  • (D) send_redirect
  • Correct Answer - Option(A)
  • Views: 4
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
`RedirectResponse` is used to return a redirect response to the client.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.