diff options
Diffstat (limited to 'test/upload/index.html')
| -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> | 
