diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-11-28 21:54:20 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-11-28 21:54:20 +0530 |
commit | f3bf6c4d9e0d603adf8178a148d1ee7365dc0220 (patch) | |
tree | 456d7a54c32742e16cde33d857819cb4a1660b3e /test/upload | |
parent | 9b0dc8e75b6e361e27414cde76d9a8958fe3dc1e (diff) |
test - Adding /upload /verify endpoint test file
Diffstat (limited to 'test/upload')
-rw-r--r-- | test/upload/index.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/upload/index.html b/test/upload/index.html new file mode 100644 index 0000000..e4ba221 --- /dev/null +++ b/test/upload/index.html @@ -0,0 +1,16 @@ +<!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> + <h2>Test File Upload to Go API</h2> + <form action="https://draconyan.xyz:3000/upload" method="post" enctype="multipart/form-data"> + <label for="FileInput">Choose file to upload:</label> + <input type="file" id="FileInput" name="FileInput" required><br><br> + <button type="submit">Upload File</button> + </form> +</body> +</html> |