REST API

From Coder Merlin
Revision as of 10:34, 20 August 2021 by Aidan-kollar (talk | contribs)
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

Intro[edit]

A REST, or RESTful API is an architectural style used for API (Application Programming Interface). In a REST API, a client sends a request to the server, and the server responds with a representation (such as a JSON file), of the current state of the resource requested by the client that is stored on the server.

What is an API[edit]

An API on websites is made of code that enables two different applications to communicate with each other. They allow developers to access something from one application, even if they may be using a separate application. In summary, APIs are a form of communication between two applications, allowing their functionality to be used somewhere else.

The RESTful Criteria[edit]

Essential Principals[edit]

Benefits of REST[edit]

Types of Requests[edit]

Possible Data Formats[edit]

References[edit]

By: Mark, Aidan, and Reese