pyrit.common.make_request_and_raise_if_error_async#
- async make_request_and_raise_if_error_async(endpoint_uri: str, method: str, params: dict[str, str] = None, request_body: dict[str, object] = None, headers: dict[str, str] = None, post_type: Literal['json', 'data'] = 'json', debug: bool = False, **httpx_client_kwargs: Any | None) Response [source]#
Make a request and raise an exception if it fails.