mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
501 B
501 B
Upload Files
This endpoint can be used to upload files.
-
URL
/upload
-
Method:
POST -
Headers
The directory to upload the files to must be included in the header data-location. If this not set, the call will fail
-
Body
Put the files you want to upload in the request body
-
Success Response:
- Code: 200
Content:
- Code: 200
-
Error Response:
- Code: 500 NOT FOUND
Content:{ error: 'Not a directory' }
- Code: 500 NOT FOUND