28 lines
		
	
	
		
			700 B
		
	
	
	
		
			HTML
		
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			700 B
		
	
	
	
		
			HTML
		
	
	
| <!DOCTYPE html>
 | |
| <html>
 | |
| <head>
 | |
| <meta charset="utf-8" />
 | |
| <title>Test multipart/form-data file uploading</title>
 | |
| </head>
 | |
| <body>
 | |
| 
 | |
| <h2>File Upload</h2>
 | |
| 
 | |
| File form:
 | |
| <form method="POST" enctype="multipart/form-data" action="/upload">
 | |
| 	<input type="hidden" name="file_id" value="aafueB5Quie" />
 | |
| 	<input type="file" name="upfile" multiple/>
 | |
| 	<input type="hidden" name="another_hidden_field" value="abcxyz" />
 | |
| 	<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">
 | |
| </form>
 | |
| 
 | |
| </body>
 | |
| </html>
 |