Advertisement
Networking
FormData API Demonstration
Construct key/value payload pairs representing form fields and binary files.
Checking support...
Feature Not SupportedThis browser does not support the FormData API Web API feature. Try testing in a modern browser (such as Chrome, Edge, Safari, or Firefox).
Advertisement
Interactive Input Workspace
Ready for input
Web API Execution Output
Result output will be displayed here after execution...
Native JavaScript Code Example (Zero Libraries)
const fd = new FormData();
fd.append('username', 'mohit');About the FormData API Web API
FormData interface provides a way to construct key/value pairs representing form fields.
Specification:W3C & WHATWG Web API Standard
Sponsored Content