Skip to main content

Input

required (positional) parameteres

optional parameters (?foo=bar)

read user cookies

Post request with data

HTMLX elements may have a "name" field which will be the 'key'-name in the data object.

On the litestar server, the post request endpoint will receive a data object as dict

data: Annotated[dict, Body(media_type=RequestEncodingType.URL_ENCODED)],

TODO or annotated dict

TODO or pydantic's BaseModel