mirror of
https://github.com/PeernetOfficial/WebGatewayUpload.git
synced 2026-07-18 04:17:49 +01:00
added curl request sample to the webpage as well
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
<div>
|
||||
<label for="formFileLg" class="form-label">Upload your file</label>
|
||||
<input class="form-control form-control-lg" id="formFileLg" type="file" name="file">
|
||||
<h3> or </h3>
|
||||
<pre><code>curl http://localhost:8080/uploadCurl -F add=@<file name></code></pre>
|
||||
</div>
|
||||
<input type="submit" value="Submit">
|
||||
{{ if .hash }}
|
||||
|
||||
@@ -35,6 +35,8 @@
|
||||
<h3> hash: {{ .hash }} </h3>
|
||||
{{end}} -->
|
||||
</form>
|
||||
<h3 style="color:white"> or </h3>
|
||||
<h4 style="color:white">curl http://localhost:8080/uploadCurl -F add=@<file name></h4>
|
||||
<!-- <a href="#" class="btn btn-white btn-outline-white" tyle="color:#3ac4e2">Upload file</a> -->
|
||||
<br>
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user