mStream/docs/API/upload.md
Paul Sori 000cf2713b docs
2018-09-12 23:26:10 -04:00

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:
  • Error Response:

    • Code: 500 NOT FOUND
      Content: { error: 'Not a directory' }