Tag: POST

Recent Post

Validate File Size Before Upload with JavaScript

Minimize server requests by validating file size before uploading.

Upload Multiple Files using the Fetch API

Learn how for both an input the 'multiple' attribute and with multiple input elements.

GET, POST, PUT & DELETE using AJAX in JavaScript

AJAX (XMLHttpRequest) is a native object for making HTTP requests in JavaScript.

POST form data (also including a file) using Axios

Make a POST request containing form data as the payload using Axios.

Upload progress bar using XHR (Fetch alternative)

The XMLHttpRequest (XHR) object can be used to make and track upload progress.

How to upload a file using the Fetch API

You can upload a file using the Fetch API as part of a FormData object or as a standalone file.

Create an upload progress bar with Axios

Using Axios, you can track the upload progress of a POST request to create a progress bar.

POST form data using JavaScript’s Fetch API

Fully control form data submission using JavaScript's Fetch API.

Using fetch to make GET, POST, PUT and DELETE requests

Learn how to make HTTP requests in plain JavaScript using it's in-built fetch method.