Udostępnij za pośrednictwem


HttpRequest Klasa

Obiekt żądania HTTP.

Dziedziczenie
azure.functions._http.HttpRequest
HttpRequest

Konstruktor

HttpRequest(method: str, url: str, *, headers: Mapping[str, str], params: Mapping[str, str], route_params: Mapping[str, str], body_type: str, body: str | bytes)

Parametry

Nazwa Opis
method
Wymagane
url
Wymagane

Parametry Tylko słowo kluczowe

Nazwa Opis
headers
Wymagane
params
Wymagane
route_params
Wymagane
body_type
Wymagane
body
Wymagane

Metody

get_body
get_json

get_body

get_body() -> bytes

get_json

get_json() -> Any

Atrybuty

files

form

headers

method

params

route_params

url