1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-11-20 10:18:21 +01:00
antd-web-apps/apps/views/default/index/upload.ls

12 lines
414 B
Plaintext
Raw Normal View History

2018-09-11 10:35:02 +02:00
<?lua
if REQUEST.method == "POST" then
return echo(JSON.encode(REQUEST))
end
?>
<form action="https://apps.localhost:9195/index/upload" method="post" enctype="multipart/form-data">
Select image to upload:
<input type="file" name="fileToUpload" id="fileToUpload">
<input type="file" name="fileToUpload1" id="fileToUpload1">
<input type="submit" value="Upload Image" name="submit">
</form>