2021-11-10 19:15:39 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<title>Test multipart/form-data file uploading</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2021-01-21 13:08:51 +03:00
|
|
|
<h2>File Upload</h2>
|
|
|
|
|
2021-11-10 18:31:41 +03:00
|
|
|
File form:
|
2021-01-21 13:08:51 +03:00
|
|
|
<form method="POST" enctype="multipart/form-data" action="/upload">
|
2021-11-10 18:31:41 +03:00
|
|
|
<input type="hidden" name="file_id" value="aafueB5Quie" />
|
|
|
|
<input type="file" name="upfile" multiple/>
|
|
|
|
<input type="submit" value="Upload"/>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
Text form:
|
|
|
|
<form method="POST" enctype="multipart/form-data" action="/submit">
|
|
|
|
<input type="text" name="content1" value="abc" />
|
|
|
|
<input type="text" name="content2" value="xyz" />
|
|
|
|
<input type="submit" value="Submit content">
|
2021-01-21 13:08:51 +03:00
|
|
|
</form>
|
2021-11-10 19:15:39 +03:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|