Skip to main content

ResponseResponse

Response returned from the response API

type ResponseResponse {
status: Int
url: String
method: Method
type: ResourceType
headers: [Headers]
body: String
}

Fields

ResponseResponse.status ● Int scalar

The HTTP status code of the response

ResponseResponse.url ● String scalar

The final URL of the response

ResponseResponse.method ● Method enum

The HTTP method of the request that facilitated the response

ResponseResponse.type ● ResourceType enum

The type of response that was received

ResponseResponse.headers ● [Headers] list object

The response headers returned

ResponseResponse.body ● String scalar

The body of the response, represented as a string when possible or base64 for binary-type requests like images

Returned By

response mutation