Working with REST API's in JavaScript

blur

Learn Path Description

A REST API is a way of easily accessing web services. When a RESTful API is called, the server will transfer to the client a representation of the state of the requested resource. A RESTful API is stateless, separates concerns between client-server, allows caching of data client-side and it utilizes standardized base URLs and methods to perform the actions required to manipulate, add or delete data.

Skills You Will Gain

Courses In This Learning Path

blur
icon

Total Duration

38 minutes

icon

Level

Beginner

icon

Learn Type

Certifications

JavaScript REST APIs: The Big Picture

It's easy to get lost in the details of writing in a language when you learn. It can cause confusion and stress to ignore the reasons a technology is being used. This course JavaScript REST APIs - The Big Picture will explain why REST APIs can be useful for building JavaScript apps. You'll first learn what REST is, and why you might use it. Next, you will discover how REST works within a JavaScript application. You'll also learn how to use the different JavaScript options for building RESTAPIs. This course will equip you with the knowledge you need to decide if building an REST API is right for you.

blur
icon

Total Duration

1.23 hour

icon

Level

Beginner

icon

Learn Type

Certifications

JavaScript REST APIs: Getting Started

Developers of REST APIs are highly sought after due to the increasing demand for mobile apps and the speed needed for websites. This course JavaScript REST APIs Getting Started will teach you how to create a Node.js server and an express server, and also how to create endpoints. You'll first learn how to create an endpoint that can retrieve data. Next, you will learn how to create an endpoint for POST, DELETE, PUT and PATCH. Next, we'll discuss the various HTTP status codes that should be returned from each endpoint. Next, we'll discuss how to handle exceptions as well as return a standard JSON document. You'll also learn how to call your REST APIs using JavaScript via the XMLHttpRequest class. This course will equip you with the knowledge and skills of Express, Node.js and JavaScript to create your own REST APIs that can be used in mobile applications or other applications.

blur
icon

Total Duration

1.4 hour

icon

Level

Intermediate

icon

Learn Type

Certifications

Building CRUD Actions in a JavaScript REST API

Every application relies on data manipulation. A REST API is a popular way to manipulate data. It allows you to create, read and update data, as well as delete data. This course, Building CRUD Activities in a JavaScript API, will teach you how to manipulate data using a JavaScript API. You'll first learn how to create the API. The API allows you to filter the results. You'll also learn how to call the API directly from your client. After completing this course, you will have the knowledge and skills to manipulate data using a JavaScript RESTAPI.

blur
icon

Total Duration

1.26 hour

icon

Level

Intermediate

icon

Learn Type

Certifications

Uploading Files with a JavaScript REST API

Web applications can manage many different types of data.
Strings from text are used for names, descriptions, dates to track when something happened, and number to quantify and evaluate an application's data. files are a special set of data types that present unique challenges and can be difficult to manage efficiently and securely.

This course Uploading files with a JavaScript API will teach you about the various options available for uploading files to the server from your browser.

The first will show you how to manage one file at a given time.
Next You'll be able to expand your knowledge by learning how to upload multiple files simultaneously.
You'll finally learn how to manage files once they reach the server.

After completing this course, you will have the knowledge and skills to upload files with JavaScript.

blur
icon

Total Duration

1.26 hour

icon

Level

Intermediate

icon

Learn Type

Certifications

Securing a JavaScript REST API with JSON Web Tokens

Secured routes and authorization are often difficult tasks for server-side JavaScript applications. This course, Securing JavaScript REST API using JSON Web Tokens, will teach you how to use JWT (also known as JOT) to transfer claims between two people. You'll first learn how to protect server-side REST API endpoints against unauthorized access and data manipulation. Next, you will learn how JSON Web Tokens can be signed, sent, validated, and generated by servers. You'll also learn about security concerns, how to minimize risk, and tradeoffs in storing JWT. This course will equip you with the knowledge and skills necessary to create and deliver robust RESTful APIs within the JavaScript ecosystem.

blur
icon

Total Duration

1.28 hour

icon

Level

Intermediate

icon

Learn Type

Certifications

Caching JavaScript REST API Data with Local Storage

Although it is difficult to store API data client-side, and keep it synchronized, it can improve performance and user experience. This course, Caching JavaScript API Data with Local Storage will teach you how to use pouchDB and local storage to store and maintain data from restful APIs. You'll first learn about local caching and compare the various options. You'll then learn how to retrieve data via an API and store it locally. You'll also learn how to store JSON files in pouchDB. After completing this course, you will have the knowledge and skills to store Rest API data locally within the browser.

blur