Represents an HTTP response, that contains response code, headers, payload and the original request. This interface is compatible with AxiosResponse.

interface HttpResponse {
    data: any;
    headers: any;
    request: any;
    status: number;
    [otherKey: string]: any;
}

Hierarchy

  • KnownHttpResponseFields
    • HttpResponse

Indexable

[otherKey: string]: any

Properties

data headers request status

Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.

Properties

data: any
headers: any
request: any
status: number