API Architecture - Representational State Transfer (REST)

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:27 PM on 5/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

15 Terms

1
New cards

What is an API Architecture?

API Architecture is the structural design and set of rules that ensure that different software systems can talk to each other reliably and securely.

2
New cards

What is REST?

REST is a set of rules that allows two computers to talk to each other using the same language that web browsers use to load pages.

3
New cards

What is REST for?

An architectural style for designing networked applications.

4
New cards

What does REST rely on?

It relies on a stateless, client-server communication protocol, almost always HTTP.

5
New cards

What does Stateless mean?

It does not store any information about the client's previous requests, each request is treated as a brand-new/independent interaction

6
New cards

What are the standard types of requests?

GET

POST

PUT/PATCH

DELETE

7
New cards

What is GET?

Retrieving a resource

8
New cards

What is POST?

Creating a new resource

9
New cards

What is PUT/PATCH?

Updating an existing resource

10
New cards

What is DELETE?

Removing a resource

11
New cards

How does REST look in practice? (Step 1)

The Request:

Your app sends a GET request

12
New cards

How does REST look in practice? (Step 2)

The Representation:

The server doesn't send you the actual database; it sends a "representation" of the data (usually a text format called JSON).

13
New cards

How does REST look in practice? (Step 3)

The Result:

Your phone receives a list of hotels, prices, and photos to show you.

14
New cards

What are the advantages of REST?

It is stateless, so knowledge of prior messages don't matter, simplifying communication between the client and server/

Separates client and server, so the implementation can be changed without impacting communication between the client and server.

15
New cards

What are the disadvantages of REST?

As REST is stateless, this means that each request must contain all the details required to understand the request. This can mean having to send large quantities of data in each request.

Limited standard request types. This can make implementing applications that do not fit into these standard request types very complex.

Can have performance issues due to having to make multiple requests to gather all required data.