mirror of
https://github.com/kataras/iris.git
synced 2025-12-22 20:37:05 +00:00
Update the _examples/http_request/upload-file to fill the gap, relative discussion: https://github.com/kataras/iris/issues/979
Former-commit-id: a113e8815a6a2821a80ac424f52302528a6e71b5
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Upload file</title>
|
||||
<title>Upload file</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form enctype="multipart/form-data"
|
||||
action="http://127.0.0.1:8080/upload" method="POST">
|
||||
<input type="file" name="uploadfile" /> <input type="hidden"
|
||||
name="token" value="{{.}}" /> <input type="submit" value="upload" />
|
||||
<form enctype="multipart/form-data" action="http://127.0.0.1:8080/upload" method="POST">
|
||||
<input type="file" name="uploadfile" />
|
||||
<input type="hidden" name="token" value="{{.}}" />
|
||||
<input type="submit" value="upload" />
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user