R

Ravina • 3.96K Points
Extraordinary

Q. Which of the following is used to set CORS in FastAPI?

  • (A) AllowOrigin
  • (B) CORS
  • (C) CORSMiddleware
  • (D) CorsSupport
  • Correct Answer - Option(C)
  • Views: 37
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina

`CORSMiddleware` is used to configure Cross-Origin Resource Sharing in FastAPI.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.