Quick links


Authentication

There is no API key product. All endpoints are public and read-only.


Endpoints

Method Path Description
GET/apiAPI docs
GET/api/siteSite metadata
GET/api/postsPosts
GET/api/posts/:slugSingle post
GET/api/search?q=Search
GET/api/categoriesCategories
GET/api/tagsTags

Content negotiation

# JSON
curl -H "Accept: application/json" https://benmilne.com/value-derivations

# Markdown
curl -H "Accept: text/markdown" https://benmilne.com/value-derivations

# HTML (default)
curl https://benmilne.com/value-derivations

CORS

All API responses include Access-Control-Allow-Origin: *.