1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-12-28 10:18:22 +01:00
antd-web-apps/apps/views/default/index/upload.ls
2018-09-11 10:35:02 +02:00

12 lines
414 B
Plaintext

<?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>