HttpRequest Klasse
Ein HTTP-Anforderungsobjekt.
- Vererbung
-
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)
Parameter
Name | Beschreibung |
---|---|
method
Erforderlich
|
|
url
Erforderlich
|
|
Keyword-Only Parameter
Name | Beschreibung |
---|---|
headers
Erforderlich
|
|
params
Erforderlich
|
|
route_params
Erforderlich
|
|
body_type
Erforderlich
|
|
body
Erforderlich
|
|
Methoden
get_body | |
get_json |
get_body
get_body() -> bytes
get_json
get_json() -> Any
Attribute
files
form
headers
method
params
route_params
url
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Python