Category: Working with APIs

Recent Post

Build a REST API with Node.js and Express

Express provides a simple sytnax for creating a REST API in Node.js.

Wait for Multiple Fetch Requests to Finish

You can use Promise.all or Promise.allSettled to wait for multiple requests to complete.

Upload Multiple Files using the Fetch API

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

Download Progress with JavaScript’s Fetch Function

Create a download indicator by reading the body of the response.

Social Media Share Buttons with Vanilla JavaScript

Share with vanilla JavaScript by constructing URL requests to social media APIs.

Download Progress Bar with Axios

Learn how to track progress and upload a CSS progress bar.

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.

Using Fetch with async/await

Async/await allows a Fetch request to be handled using synchronous-looking syntax.