...
NOTE: The HTTP response is configured so that a browser would download the file with a file name. See also: media/get/{token}/stream
URL
(GET) /api/media/get/{token}
...
PARAMETERS
token | The reference token of file. |
RESULTS
The file as an attachment, see below.
...
- The Content-Type (such as "text/xml")
- The Content-Disposition set to "attachment" and including the file name
...
ALTERNATIVE METHOD
If you want to have a browser show the file inline, use this method instead: media/get/{token}/stream