slug
ContentGenerate URL-friendly slugs derived from titles. Lowercase, hyphenated, with special characters removed — ready for use in URLs.
Example Outputs
complete-guide-to-api-design10-tips-for-better-testingwhy-typescript-wonAPI Usage
Send a POST request to generate slug 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": "slug",
"type": "slug"
}
]
}
]
}'Common Use Cases
- URL routing testing
- SEO slug testing
- Content management
- Blog post URLs
Quick Info
- Field Type
- slug
- Category
- Content
- Parameters
- None required
- Output Format
- JSON, CSV, SQL
Generate Slug + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.