diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/upload/index.html | 16 | ||||
-rw-r--r-- | test/verify/index.html | 18 |
2 files changed, 34 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> diff --git a/test/verify/index.html b/test/verify/index.html new file mode 100644 index 0000000..4af333a --- /dev/null +++ b/test/verify/index.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>File Verification Test</title> +</head> +<body> + <h1>File Verification Test</h1> + <form action="https://draconyan.xyz:3000/verify" method="post" enctype="multipart/form-data"> + <label for="idInput">Enter ID:</label> + <input type="text" id="idInput" name="idInput" required><br><br> + <label for="FileInput">Choose file to verify:</label> + <input type="file" id="FileInput" name="FileInput" required><br><br> + <button type="submit">Verify File</button> + </form> +</body> +</html> |