HttpRequest Klasa
Obiekt żądania HTTP.
- Dziedziczenie
-
azure.functions._http.HttpRequestHttpRequest
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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for Python