Introduction

In most cases, our application needs to be dynamic. A dynamic app has to communicate with some back-end service to get and fetch data.

In this lesson, we’ll use REST to communicate with back-end services over HTTP. The core abstraction of information in the REST architecture is a resource, which is any information that we can name.

Performing CRUD operations

The most common operations in REST are Create, Read, Update, and Delete operations—also known as CRUD operations.

These operations are performed on resources using REST resource methods, which consist of:

  • POST: Creates new resources

  • GET: Reads resources

  • PATCH: Updates resources

  • DELETE: Deletes resources

There are other REST methods, but these are the ones we’ll cover in this topic since they are the most commonly used methods.

We will work on the app below:

Get hands-on with 1400+ tech skills courses.