| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta charset="utf-8" /> |
| 5 | <title>Test multipart/form-data file uploading</title> |
| 6 | </head> |
| 7 | <body> |
| 8 | |
| 9 | <h2>File Upload</h2> |
| 10 | |
| 11 | File form: |
| 12 | <form method="POST" enctype="multipart/form-data" action="/upload"> |
| 13 | <input type="hidden" name="file_id" value="aafueB5Quie" /> |
| 14 | <input type="file" name="upfile" multiple/> |
| 15 | <input type="hidden" name="another_hidden_field" value="abcxyz" /> |
| 16 | <input type="submit" value="Upload"/> |
| 17 | </form> |
| 18 | |
| 19 | Text form: |
| 20 | <form method="POST" enctype="multipart/form-data" action="/submit"> |
| 21 | <input type="text" name="content1" value="abc" /> |
| 22 | <input type="text" name="content2" value="xyz" /> |
| 23 | <input type="submit" value="Submit content"> |
| 24 | </form> |
| 25 | |
| 26 | </body> |
| 27 | </html> |
| 28 | |