file_extension
TechnicalGenerate common file extensions (.pdf, .jpg, .ts, .csv, etc.). For file management testing, upload validation, and media library seeding.
Example Outputs
.pdf.jpg.ts.csv.mp4.zipAPI Usage
Send a POST request to generate file extension 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": "file_extension",
"type": "file_extension"
}
]
}
]
}'Common Use Cases
- File upload validation
- Media library testing
- File type filtering
- Download testing
Quick Info
- Field Type
- file_extension
- Category
- Technical
- Parameters
- None required
- Output Format
- JSON, CSV, SQL
Generate File Extension + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.