Simple play icon Course

Uploading Files with a JavaScript REST API

by Mike Van Sickle

This course will teach you what options you have for sending files from client-side web applications to the server. You’ll also learn what to do with them once they’re there.

What you'll learn

Web applications are responsible for managing a lot of different types of data.

Strings of text are used for names and descriptions, dates are used to track what happened when, and numbers are used to quantify and measure an application’s data. Among these data types, files present a unique set of challenges to manage securely and efficiently.

In this course, Uploading Files with a JavaScript REST API, you’ll learn about the options you have for uploading files from the browser to the server.

First, you’ll explore how to handle a single file at a time.
Next, you’ll expand your knowledge by examining how to upload multiple files at a single time.
Finally, you’ll learn how to manage the files once they get to the server.

When you’re finished with this course, you’ll have the skills and knowledge of uploading files with JavaScript needed to choose the most effective option for your use-case and implement it efficiently.

Course FAQ

What is a JavaScript REST API?

A RESTful API is a stateless, client-side caching API that uses less bandwidth.

What will I learn in this course?

Some of the major topics that we will cover include sending files from a web browser using HTML markup and JavaScript, how to receive uploaded files on the server, and finally, you'll learn about the options that the server offers for sending files back down to the client.

What prerequisites do I need?

Before beginning the course, you should be familiar with HTML and JavaScript, both client-side and server-side.

What software is required?

A basic understanding of ExpressJS, the web framework we'll be using, is helpful, but not required.

About the author

Michael Van Sickle is an application architect in Akron, Ohio. He started his career as a mechanical engineer, designing components for the automotive industry, before changing to software engineering. He is passionate about learning new programming languages and is comfortable working in Java, C#, JavaScript, PHP, and F#. Mike also loves learning about user experience design and is taking a lead role in his company's attempt to make applications that are elegant and simple. When he i... more

Ready to upskill? Get started