formDataAsync

open external fun formDataAsync(): Promise<FormData>(source)

The formData() method of the Request interface reads the request body and returns it as a promise that resolves with a FormData object.

MDN Reference