10 lines
378 B
HTML
10 lines
378 B
HTML
|
|
<h3>Upload with cURL</h3>
|
||
|
|
<p>WarpBox accepts normal multipart form uploads through the compatibility endpoint:</p>
|
||
|
|
<pre>curl \
|
||
|
|
-F 'files=@./my-file.zip' \
|
||
|
|
-F 'retention=1h' \
|
||
|
|
{{ origin }}/upload
|
||
|
|
</pre>
|
||
|
|
<h4>Browser flow</h4>
|
||
|
|
<p>The browser uses the manifest API: it creates a box, uploads each file, and marks failed uploads so the download page does not wait forever.</p>
|