-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupload.html
More file actions
35 lines (32 loc) · 1.33 KB
/
upload.html
File metadata and controls
35 lines (32 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>File Upload Test</title>
</head>
<body>
<h1>File Upload Test</h1>
<!-- Image Upload Form -->
<h2>Upload Image</h2>
<form action="http://localhost:3000/api/v1/file/image/upload" method="post" enctype="multipart/form-data">
<label for="image">Choose image to upload:</label>
<input type="file" id="image" name="image" accept="image/*" required>
<button type="submit">Upload Image</button>
</form>
<!-- Audio Upload Form -->
<h2>Upload Audio</h2>
<form action="http://localhost:3000/api/v1/file/audio/upload" method="post" enctype="multipart/form-data">
<label for="audio">Choose audio to upload:</label>
<input type="file" id="audio" name="audio" accept="audio/*" required>
<button type="submit">Upload Audio</button>
</form>
<!-- Video Upload Form -->
<h2>Upload Video</h2>
<form action="http://localhost:3000/api/v1/file/video/upload" method="post" enctype="multipart/form-data">
<label for="video">Choose audio to upload:</label>
<input type="file" id="audio" name="video" accept="video/*" required>
<button type="submit">Upload Audio</button>
</form>
</body>
</html>