http_method Property
The HTTP method used for the request.
Syntax
def get_http_method() -> str: ... def set_http_method(value: str) -> None: ...
http_method = property(get_http_method, set_http_method)
Default Value
""
Remarks
This property contains the HTTP method used for the request. If an empty string is provided, the http_method is determined automatically by the method being called. You may change it to a custom value if you require an HTTP method other than what is provided by the class.