Skip to content

RequestUrlResponse

Official

The response from the requestUrl function.

Import:

import type { RequestUrlResponse } from 'obsidian';

Signature:

export interface RequestUrlResponse

Properties

Property Type Description
arrayBuffer ArrayBuffer The body of the response as an ArrayBuffer.
headers Record<string, string> The headers of the response.
json any
status number The status code of the response.
text string The body of the response as a string.

Links to this page: