Http
HTTP connections with various methods.
ApiKeyConnectionMethod
¶
BareConnectionMethod
¶
Bases: BaseModel
Bare connection method, no extra headers.
Source code in teledetection/sdk/http.py
HTTPSession
¶
HTTP session class.
Source code in teledetection/sdk/http.py
__init__()
¶
Initialize the HTTP session.
get_method()
¶
post(route, params)
¶
Perform a POST request.
Source code in teledetection/sdk/http.py
prepare_connection_method()
¶
Set the connection method.
Source code in teledetection/sdk/http.py
OAuth2ConnectionMethod
¶
Bases: BareConnectionMethod
OAuth2 connection method.