pythonasyncioapiasyncfastapiframeworkjsonjson-schemaopenapiopenapi3pydanticpython-typespython3redocreststarletteswaggerswagger-uiuvicornweb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
603 B
603 B
Request Parameters
Here's the reference information for the request parameters.
These are the special functions that you can put in path operation function parameters or dependency functions with Annotated
to get data from the request.
It includes:
Query()
Path()
Body()
Cookie()
Header()
Form()
File()
You can import them all directly from fastapi
:
from fastapi import Body, Cookie, File, Form, Header, Path, Query
::: fastapi.Query
::: fastapi.Path
::: fastapi.Body
::: fastapi.Cookie
::: fastapi.Header
::: fastapi.Form
::: fastapi.File