S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which decorator is used in FastAPI to handle POST requests?

  • (A) app.route
  • (B) app.send
  • (C) app.post
  • (D) app.fetch
  • Correct Answer - Option(C)
  • Views: 17
  • Filed under category Fast API
  • Hashtags:

Explanation by: Shyam Dubey
FastAPI uses `app.post()` to define routes that handle POST requests.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.