mirror of
https://github.com/KevinMidboe/planetposen-images.git
synced 2025-10-28 21:00:12 +00:00
Example upload html file
This commit is contained in:
16
upload.html
Normal file
16
upload.html
Normal 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>
|
||||
Reference in New Issue
Block a user