mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
26 lines
444 B
Markdown
26 lines
444 B
Markdown
**Download Files**
|
|
----
|
|
Will zip files up and them download the zip file
|
|
|
|
* **URL**
|
|
|
|
/download
|
|
|
|
* **Method:**
|
|
|
|
`POST`
|
|
|
|
* **Params**
|
|
|
|
The download endpoint gets the list of files to download through the POST param `fileArray`. The reason for this is due to the finicky way some browsers handle downloads.
|
|
|
|
* **JSON Example**
|
|
|
|
```
|
|
['path/to/file1.mp3', path/to/file2.flac]
|
|
```
|
|
|
|
* **Success Response:**
|
|
|
|
Will download a zip file
|