Skip to content

RequestUrlResponse

Official

The response from the requestUrl function.

Import:

import type { RequestUrlResponse } from 'obsidian';

Signature:

export interface RequestUrlResponse

Properties

PropertyTypeDescription
arrayBufferArrayBufferThe body of the response as an ArrayBuffer.
headersRecord<string, string>The headers of the response.
jsonany
statusnumberThe status code of the response.
textstringThe body of the response as a string.

Links to this page: