Loading...
Loading...
Start the dev server, discover API routes from the codebase, hit every endpoint, and report which ones return errors.
npx skill4agent add spencerpauly/awesome-cursor-skills api-smoke-testingapp/api/**/route.tspages/api/**/*.tsapp.get(app.post(router.get(urlpatternsurls.py@app.get(@app.post(routes.rbcurl -s -o /dev/null -w "%{http_code}" -X <METHOD> http://localhost:<PORT><PATH>curl -s -o /dev/null -w "%{http_code}" -X POST http://localhost:<PORT><PATH> \
-H "Content-Type: application/json" \
-d '{}'| Status | Meaning |
|---|---|
| 200-299 | OK |
| 301/302 | Redirect (OK) |
| 400 | Bad request (expected for empty POST bodies) |
| 401/403 | Auth required (expected for protected routes) |
| 404 | Route not found (BUG — route exists in code but not served) |
| 500 | Server error (BUG) |
| 000/timeout | Server not responding (BUG) |
API Smoke Test Results:
Tested: 15 endpoints
Passed: 12
Auth required: 2 (GET /api/user, POST /api/settings)
Errors:
500 — POST /api/webhooks/stripe (TypeError: Cannot read property 'id' of undefined)
404 — GET /api/v2/health (route defined but not mounted)