request¶
-
igwn_auth_utils.request(method, url, *args, session=
None
, **kwargs)[source]¶ Send a request of the specific method to the specified URL.
- Parameters:¶
- method¶
The method to use.
- url¶
The URL to request.
- session=
None
¶ The connection session to use, if not given one will be created on-the-fly.
- *args¶
All other keyword arguments are passed directly to
requests.Session.request
- **kwargs¶
All other keyword arguments are passed directly to
requests.Session.request
- Returns:¶
resp – the response object
- Return type:¶
See also
igwn_auth_utils.requests.Session.request
for information on how the request is performed