Last active
August 7, 2023 09:42
-
-
Save Ichinga-Samuel/7323310792030c63354c4cc203022214 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>File Upload</title> | |
</head> | |
<body> | |
<main style="margin:20%"> | |
<div style="margin: auto"> | |
<h1>S3 File Upload</h1> | |
<form action="{{url_for('s3_upload')}}" method="post" style="margin:5px 5px" enctype="multipart/form-data"> | |
<div style="margin: 5px 0"> | |
<input type="file" name="file"> | |
</div> | |
<button type="submit" style="display: bloc">Upload</button> | |
</form> | |
</div> | |
<div style="margin: auto"> | |
<h1>Local File Upload</h1> | |
<form action="{{url_for('local_upload')}}" method="post" style="margin:5px 5px" | |
enctype="multipart/form-data"> | |
<div style="margin: 5px 0"> | |
<input type="file" name="files" multiple> | |
</div> | |
<button type="submit" style="display: bloc">Upload</button> | |
</form> | |
</div> | |
<div style="margin: auto"> | |
<h1>Memory File Upload</h1> | |
<form action="{{url_for('memory_upload')}}" method="post" style="margin:5px 5px" | |
enctype="multipart/form-data"> | |
<div style="margin: 5px 0"> | |
<input type="file" name="file"> | |
</div> | |
<button type="submit" style="display: bloc">Upload</button> | |
</form> | |
</div> | |
</main> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
updated