Skip to main content

FormData

interface FormData

Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data".

Jump to headingappend(
name: string,
value: string | Blob,
fileName?: string,
): void
Jump to headingdelete(name: string): void
Jump to headinghas(name: string): boolean
Jump to headingset(
name: string,
value: string | Blob,
fileName?: string,
): void
Back to top