REST
An architectural style for networked software built on named resources, representations of their state, stateless requests and a uniform interface.
In more detail
REST stands for Representational State Transfer and was described by Roy Fielding in 2000. It is a family of constraints, not a route template: having JSON and URLs does not make an API RESTful. Its strengths are that caches, proxies and ordinary HTTP tools understand it, which is why it fits broad public web boundaries.
Related terms
- resource — Anything an API gives a name to and lets clients work with, such as one task, a collection of tasks or a job.
- representation — The data sent to describe a resource’s state in one particular format, such as a JSON document for a task.
- uniform interface — The REST constraint that every resource is handled through the same small set of methods, status codes and message rules.
- stateless — Describes a component or service that keeps no data from one request to the next, so each request carries everything needed to handle it.
- HATEOAS — Short for Hypermedia as the Engine of Application State: the REST constraint that clients move through an API by following links the server supplies.
- HTTP method — The verb at the start of a web request that says what the client wants, such as GET to read or POST to create.
- OpenAPI — A standard, language-neutral format for describing an HTTP API: its paths, operations, parameters, request and response schemas, errors and security.
- RPC — A remote procedure call: calling a function in another program over a network as if it were a local function call.
- Route Handlers — Files in a Next.js app, named route.ts, that answer HTTP requests for a path with functions named after methods such as GET and POST.
- endpoint — An address that a program sends requests to, such as a web path like /health or a network socket.
Taught in
- What An API Is, And The Alternatives — Modern API Architecture: REST, GraphQL & gRPC
- The REST Constraints — Modern API Architecture: REST, GraphQL & gRPC
- When Each Wins: REST, GraphQL, gRPC And SOAP — Modern API Architecture: REST, GraphQL & gRPC
- The Night Larder Could Not Buy Servers Fast Enough — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Ten Findings, Six Pillars — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Cloud Concepts Sprint: Twelve Cards — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Whose Job Was The Patch? — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Ten Requests From The Auditor — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- The Root Key In The Backup Script — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Policy Evaluation: Deny Wins, And Both Accounts Must Agree — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- KMS And Envelope Encryption: Who Can Still Decrypt? — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Protecting Data: Versions, Object Lock, Backups And Secrets — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Serverless And Container Patterns: Where The Limits Bite — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Load Balancers And Auto Scaling: Capacity That Arrives On Time — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Disaster Recovery By The Numbers — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Route 53 Routing: Where Does A Fan In Lagos Land? — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Storage Performance: IOPS, Throughput And The Right Volume — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Database Performance: Caches, Proxies And Capacity Units — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Compute Cost: Commit, Interrupt Or Pay As You Go — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Long-Stem Clinic: The Phrase That Decides — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Traceability And The Flow Of Work — Microsoft Azure DevOps Engineer Expert (AZ-400) Exam Prep
- The Two A.M. Page — CompTIA Cloud+ (CV0-004) Exam Prep
- Ninety Questions, Ninety Minutes, PBQs Last — CompTIA Cloud+ (CV0-004) Exam Prep
- The Range That Already Belonged To Someone — CompTIA Cloud+ (CV0-004) Exam Prep
- The Container That Did Not Come Back — CompTIA Cloud+ (CV0-004) Exam Prep
- Two Domain Controllers, One Host: Virtualisation — CompTIA Cloud+ (CV0-004) Exam Prep
- Two Environments That Should Have Been Twins — CompTIA Cloud+ (CV0-004) Exam Prep
- A Worksheet With Eight Boxes: Provisioning To Requirements — CompTIA Cloud+ (CV0-004) Exam Prep
- Thursday, Twenty Past Two: Backup And Recovery — CompTIA Cloud+ (CV0-004) Exam Prep
- No Patch Is Coming: The Life Cycle Of Cloud Resources — CompTIA Cloud+ (CV0-004) Exam Prep
- Two Hundred And Fourteen Findings: Vulnerability Management — CompTIA Cloud+ (CV0-004) Exam Prep
- An Image That Runs As Root: Security Best Practices — CompTIA Cloud+ (CV0-004) Exam Prep
- Ten Percent Off For Everyone: Source Control And Pipelines — CompTIA Cloud+ (CV0-004) Exam Prep
- Two Reminders, One Booking: Integration And DevOps Tools — CompTIA Cloud+ (CV0-004) Exam Prep
- DevOps Sprint: Tax At A Hundred Percent — CompTIA Cloud+ (CV0-004) Exam Prep
- Five Deploys, Five Failures: Troubleshooting Deployments — CompTIA Cloud+ (CV0-004) Exam Prep
- Exam On Thursday: The PBQ Clinic And Final Review — CompTIA Cloud+ (CV0-004) Exam Prep
- Ninety Minutes, No Question Count — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Error Storm That Fixes Itself — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Twenty Seconds Of Nothing — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Stuck On One Record — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Twelve Lines Instead Of Four Hundred — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Connector That Was Created Twice — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- A Sink That Died On Record Nine — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Certificate That Expired On A Sunday — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Eleven Thousand Scans That Never Arrived — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Forty Minutes To Start — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Full Disks On Black Friday — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Type-Safe RPC Architectures: tRPC & Procedures — Production Full-Stack Engineering
- The Workflow That Ran On A Stranger's Pull Request — GitHub Actions (GH-200) Exam Prep
- How GH-200 Asks: Pacing, Weights And Stems — GitHub Actions (GH-200) Exam Prep
- Workflow Structure: Jobs, Env, Services, Commands And Anchors — GitHub Actions (GH-200) Exam Prep
- Matrices, Needs And Concurrency: The Shape Of A Run — GitHub Actions (GH-200) Exam Prep
- Outputs, Artifacts, Caches And Job Summaries — GitHub Actions (GH-200) Exam Prep
- Why It Ran, Why It Did Not: Reading Runs, Jobs And Checks — GitHub Actions (GH-200) Exam Prep
- Failed Runs: Debug Logging And Re-Running The Right Jobs — GitHub Actions (GH-200) Exam Prep
- Logs And Artifacts Without The Browser: REST And The gh CLI — GitHub Actions (GH-200) Exam Prep
- Workflow Templates: Sharing Workflows Across An Organization — GitHub Actions (GH-200) Exam Prep
- Distributing And Versioning Actions: Tags, SHAs And Marketplace — GitHub Actions (GH-200) Exam Prep
- Governing Actions: Allow Lists, SHA Pinning And Rulesets — GitHub Actions (GH-200) Exam Prep
- Self-Hosted Runners At Scale: Labels, Groups And ARC — GitHub Actions (GH-200) Exam Prep
- Secrets And Variables By Scope: Precedence, Access And The REST API — GitHub Actions (GH-200) Exam Prep
- Usage, Billing And The Audit Log — GitHub Actions (GH-200) Exam Prep
- GITHUB_TOKEN: Least Privilege, Job By Job — GitHub Actions (GH-200) Exam Prep
- Environments: Reviewers, Wait Timers And Deployment Rules — GitHub Actions (GH-200) Exam Prep
- Script Injection: When An Issue Title Becomes Code — GitHub Actions (GH-200) Exam Prep
- Faster And Cheaper: Where The Minutes Go — GitHub Actions (GH-200) Exam Prep
- Route Handlers: RESTful Endpoints with NextRequest — Next.js 15 & Modern App Router Architecture
- State: Terraform's Memory Of What It Built — HashiCorp Terraform Associate (004) Exam Prep
- Resources, Data Sources And The References Between Them — HashiCorp Terraform Associate (004) Exam Prep
- Sensitive Data, Ephemeral Values And Secrets From Vault — HashiCorp Terraform Associate (004) Exam Prep
- Where Modules Come From — HashiCorp Terraform Associate (004) Exam Prep
- State Locking: One Writer At A Time — HashiCorp Terraform Associate (004) Exam Prep
- The Full Mock: Sixty Minutes, Eight Areas, One Plan For The Last Week — HashiCorp Terraform Associate (004) Exam Prep
References
Certification courses
- AWS Cloud Practitioner course and practice exam: CLF-C02
- AWS Solutions Architect Associate course and practice exam: SAA-C03
- AZ-400 course and practice exam: Microsoft Azure DevOps Engineer Expert
- CompTIA Cloud+ course and practice exam: CV0-004
- CCDAK and CCAAK course and practice exams: Confluent Apache Kafka certifications
- GH-200 course and practice exam: GitHub Actions
- Terraform Associate course and practice exam: HashiCorp Terraform Associate (004)