Skip to main content
Body.formData - Fetch - Web documentation
method Body.formData
Private
Body.formData(): Promise<FormData>

Takes a Response stream and reads it to completion. It returns a promise that resolves with a FormData object.

Return Type

Promise<FormData>