rest-api

Installation
SKILL.md

REST API

Representational State Transfer (REST) is the architectural style for distributed hypermedia systems. It relies on stateless, client-server, cacheable communications protocols (mostly HTTP).

When to Use

  • Universal Public Web APIs: Building open, standardized APIs intended for third-party developers, webhooks, and partner integrations.
  • HTTP Caching & CDN Optimization: Maximizing cacheability using standard HTTP response headers (Cache-Control, ETag, Last-Modified).
  • Resource-Oriented CRUD Operations: Designing intuitive resource hierarchies with standard HTTP semantics (GET, POST, PUT, PATCH, DELETE).
  • Stateless Integration: Delivering scalable stateless APIs consumed effortlessly by any HTTP client on any platform.

Quick Start

// Express.js Example
app.get("/users/:id", async (req, res) => {
  const user = await db.find(req.params.id);
  if (!user) return res.status(404).json({ error: "Not Found" });
Installs
9
GitHub Stars
15
First Seen
Feb 10, 2026