http_status_code
TechnicalGenerate HTTP status codes (200, 404, 500, etc.) with realistic distribution. For API log testing, error handling testing, and analytics dashboards.
Example Outputs
200201301404500429API Usage
Send a POST request to generate http status code data:
curl -X POST https://mockhero.dev/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tables": [
{
"name": "example",
"count": 5,
"fields": [
{
"name": "http_status_code",
"type": "http_status_code"
}
]
}
]
}'Common Use Cases
- API log generation
- Error handling testing
- Analytics dashboards
- Monitoring system seeding
Quick Info
- Field Type
- http_status_code
- Category
- Technical
- Parameters
- None required
- Output Format
- JSON, CSV, SQL
Related Types
Generate HTTP Status Code + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.