Testver Playground
Sign in

1 · Use it in Testver

One-click import:

  1. Click ⬇ Download spec above
  2. In Testver: Import → OpenAPI the downloaded file
  3. All endpoints land in a new collection ready to send

2 · Use it in code

No SDK needed — plain HTTP works:

// Node / fetch
const r = await fetch(
  'http://testplay.testver.com/api/products');
const data = await r.json();

3 · Reset state between tests

Always start fresh:

curl -X POST \
  http://testplay.testver.com/api/reset \
  -H "Content-Type: application/json" \
  -d '{"size":"medium"}'

Quick reference

Base URL: http://testplay.testver.com · click any row to see request/response details
MethodEndpointDescriptionTag
GET /api/health Health check Health & State
POST /api/reset Reset & reseed (small/medium/large) Health & State
GET /api/users List all users Users
GET /api/users/:id Get user by id Users
GET /api/products List products (first 50) Products
GET /api/products/:id Get product by id Products
GET /api/orders List orders (first 50) Orders
GET /api/categories List product categories Categories
GET /api/notifications List notifications Notifications
GET /ajax/get Plain GET AJAX
POST /ajax/post POST that echoes the body AJAX
PUT /ajax/put PUT that echoes the body AJAX
DELETE /ajax/delete DELETE AJAX
GET /ajax/slow 4-second delayed response AJAX
GET /ajax/fail/:code Forced HTTP error (400/401/404/500/503) AJAX
GET /ajax/sse Server-Sent Events stream AJAX
GET /tables/data Server-side paginated data Tables
PUT /tables/data/:id Update product row Tables
DELETE /tables/data/:id Delete product row Tables
GET /forms/cascade Cascading dropdown data Forms
POST /files/upload Upload file(s) — multipart/form-data Files
DELETE /files/upload/:id Delete an uploaded file Files
GET /files/download/:type Download sample csv / json / txt / html Files
POST /shop/cart/add Add item to cart Shop
POST /shop/cart/update Update item quantity Shop
POST /shop/cart/remove Remove item from cart Shop
POST /shop/cart/coupon Apply coupon (SAVE10, WELCOME20, EXPIRED, MAXEDOUT) Shop

Try it live — Swagger UI

All requests hit the running server. Use Reset first if you want a clean state.