Skip to content

ElectronPostBody

Unofficial

The post data sent to a new window.

Import:

import type { ElectronPostBody } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronPostBody

Properties

Property Type Description
boundary? string The boundary used to separate multiple parts of the message. Only valid when contentType is multipart/form-data.
contentType string The content-type header used for the data. One of application/x-www-form-urlencoded or multipart/form-data.
data (ElectronUploadFile | ElectronUploadRawData)[] The post data to be sent to the new window.

Links to this page: