Example upload html file

This commit is contained in:
2022-12-10 16:07:40 +01:00
parent e5778c3778
commit 4c1686cf49
+16
View File
@@ -0,0 +1,16 @@
<html>
<head>
<title>Upload file</title>
</head>
<body>
<form
enctype="multipart/form-data"
action="http://127.0.0.1:8000/api/v1/images"
method="post"
>
<input type="file" name="file" />
<input type="hidden" name="token" value="{{.}}" />
<input type="submit" value="upload" />
</form>
</body>
</html>