MockHero

file_extension

Technical

Generate 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.zip

API 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

Try it now

Generate file extension data instantly in the playground.

Generate File Extension + 155 more types via API

One API call. Multiple tables. Relational integrity. Free tier included.

Get Started Free