mime_type
TechnicalGenerate MIME content types like application/json, text/html, image/png. For file upload testing, content-type headers, and media handling.
Example Outputs
application/jsontext/htmlimage/pngapplication/pdfvideo/mp4API Usage
Send a POST request to generate mime type 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": "mime_type",
"type": "mime_type"
}
]
}
]
}'Common Use Cases
- File upload testing
- Content-type validation
- Media handling testing
- API response headers
Quick Info
- Field Type
- mime_type
- Category
- Technical
- Parameters
- None required
- Output Format
- JSON, CSV, SQL
Related Types
Generate MIME Type + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.