18 lines
400 B
HTML
18 lines
400 B
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="" href="./style.css">
|
|
<script src="https://unpkg.com/htmx.org@1.9.4/dist/htmx.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<p><b>Test</b></p>
|
|
<form id='form' hx-encoding='multipart/form-data' hx-post='/api/upload'>
|
|
<input type="file" name="file" value="">
|
|
<button>
|
|
Upload
|
|
</button>
|
|
</form>
|
|
</form>
|
|
</body>
|
|
|
|
</html>
|