> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GetUrlResponse

```ts theme={null}
type GetUrlResponse: {
  "body": null | Uint8Array;
  "headers": Record<string, string>;
  "statusCode": number;
  "statusMessage": string;
};
```

An environment's implementation of `getUrl` must return this type.

## Type declaration

### body

```ts theme={null}
body: null | Uint8Array;
```

### headers

```ts theme={null}
headers: Record<string, string>;
```

### statusCode

```ts theme={null}
statusCode: number;
```

### statusMessage

```ts theme={null}
statusMessage: string;
```

## Source

[utils/fetch.ts:29](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/utils/fetch.ts#L29)
