New in 2.4: Test runs you can trust See what's new →

表单数据和文件上传

表单数据:multipart/form-data 文件上传,以及对已上传文件记录的 CRUD。

请求示例

List all uploaded file records. 完整参考和 Send 按钮(英文).

cURL
curl -X GET "https://api.testingapis.com/api/formdata/all"
在 Studio 中运行
响应 · 200 OK
[
  {"id": 1, "fileName": "john_resume.pdf", "description": "Resume of John"},
  {"id": 2, "fileName": "maria_photo.png", "description": "Profile photo of Maria"},
  "… 2 more items"
]