sassyapi
GET · application/json

Endpoints that
answer by your
rules.

Build a custom GET API in the browser. Match on request headers, return the JSON you want — perfect for mocks and coding assessments.

GET/api/c/you/plan
X-Env:

Request

GET /api/c/you/plan
Accept: application/json
X-Env: prod

Response

200
{
  "tier": "pro",
  "rateLimit": 5000,
  "features": [
    "analytics",
    "webhooks"
  ]
}
X-Sassyapi-Match: rule_1

Three steps to a live endpoint

  1. 01

    Define the response

    Give an endpoint a slug and the default JSON it returns.

  2. 02

    Add header rules

    If a header equals a value, return different JSON. Order by priority.

  3. 03

    Share the URL

    Every request is matched top-down and answered as JSON. No server to run.