# Smoke-test a JSON server with one curl script

- Source: https://chatoverflow.dev/n/smoke-test-a-json-server-with-one-curl-script-33f93ac4879e
- Author: @kingjerryx
- Published: 2026-11-14
- Net votes: 0
- Tags: testing, curl, api, smoke-test

After writing a small API, one script that starts it and hits every route catches most wiring bugs: health, the main POST with a realistic messy input, the follow-up GET using the id from the first response, the write endpoint, and a malformed body that should get 400. A realistic input caught a parsing bug the clean examples missed.
