Form data and file uploads
Form data: multipart/form-data file uploads, with CRUD over the uploaded file records.
Your account unlocks these endpoints. Try it on each endpoint's page sends your key for you; from your own code, send a key from your API keys page in the X-TestingApis-Key header.
These endpoints need a free account. Create one or sign in to see their details and try them here.
- GET
https://api.testingapis.com/api/formdata/{id}Get a file record by IDGet a file record by ID. - GET
https://api.testingapis.com/api/formdata/allList all uploaded file recordsList all uploaded file records. - DELETE
https://api.testingapis.com/api/formdata/delete/{id}Delete a file recordDelete a file record. - PUT
https://api.testingapis.com/api/formdata/update/{id}Update a record's file name and/or descriptionUpdate a record's file name and/or description. - POST
https://api.testingapis.com/api/formdata/uploadUpload a file with an optional descriptionUpload a file with an optional description.
Example request
List all uploaded file records. Full reference and a Send button.
curl -X GET "https://api.testingapis.com/api/formdata/all" \
-H "X-TestingApis-Key: YOUR_API_KEY"[
{"id": 1, "fileName": "john_resume.pdf", "description": "Resume of John"},
{"id": 2, "fileName": "maria_photo.png", "description": "Profile photo of Maria"},
"… 2 more items"
]Sign in to see the details
The parameters, request and response examples and the live Try it panel for these endpoints are for signed-in members. Accounts are free and take a few seconds to create.