R

Ravina • 3.96K Points
Extraordinary

Q. How can you extract a path parameter in FastAPI?

  • (A) Using `Path()`
  • (B) Using `Header()`
  • (C) Using `Body()`
  • (D) Using `Field()`
  • Correct Answer - Option(A)
  • Views: 36
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina

`Path()` is used for extracting and validating path parameters.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.