formData method

JSPromise<FormData> formData()

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

Implementation

external JSPromise<FormData> formData();