fake — generate realistic FAKE / TEST DATA instantly (public, no auth)
USAGE:
curl /{type} # one item
curl '/{type}?n=5' # 5 items (clamp 1..100; n omitted = 1)
curl '/{type}?seed=42' # reproducible: same seed -> same bytes
curl '/{type}?json' # force JSON for scalar types
OBJECT TYPES (return a JSON object, or a JSON array for n>1):
user {first,last,name,username,email,phone,company,street,city,country,uuid}
SCALAR TYPES (one line of plain text per item; add ?json for an array):
name first last username email phone company address city country
uuid ipv4 color word sentence paragraph bool
number (?min=N&max=M ; defaults min=0 max=100)
EXAMPLES:
curl /name
curl '/email?n=10'
curl '/user?n=3'
curl '/number?min=1&max=6'
curl '/uuid?n=5'
curl '/user?seed=42' # deterministic fixtures for tests
NOTES:
* UUIDs are crypto/rand v4 — genuinely unique even with ?seed set.
* Everything else is seedable: ?seed=N makes the output reproducible.
* An unknown type returns 400. GET /health, /version, /metrics too.