Upload Multiple Files using the Fetch API
Learn how for both an input the 'multiple' attribute and with multiple input elements.
Learn how for both an input the 'multiple' attribute and with multiple input elements.
AJAX (XMLHttpRequest) is a native object for making HTTP requests in JavaScript.
The XMLHttpRequest (XHR) object can be used to make and track upload progress.
You can upload a file using the Fetch API as part of a FormData object or as a standalone file.
Using Axios, you can track the upload progress of a POST request to create a progress bar.
Learn how to make HTTP requests in plain JavaScript using it's in-built fetch method.