Skip to main content
Version: Next

ApifyResponse <T>

A response as HttpClient.call resolves to it: a success, or an error response when the request sets ApifyRequestConfig.throwOnErrorStatus to false.

Index

Properties

config

The request this response answers, as it was passed to HttpClient.call.

data

data: T

The response body, decoded according to the request's ApifyRequestConfig.responseType.

headers

Response headers keyed by lowercase header name.

status

status: number

HTTP status code.

Page Options