_
| |__ _____ __
| '_ \ / _ \ \/ /
| |_) | (_) > <
|_.__/ \___/_/\_\
Server for uploading files.
Use the form here or send a POST request to /upload with the content of the file in the body.
The request can contain a X-ResourceMeta-Extension header with the desired extension of the file including the dot (i.e. .gif or .flac).
This will improve compatibility when fetching the file.
The request can contain a X-ResourceMeta-Filename header with the desired filename. This supercedes X-ResourceMeta-Extension.
Note that using this option may make it easier to guess the resource url.
If a token has been set on the server, pass the token in the request via a X-Token header.
The response will contain a X-Resource-ID header containing the ID of the saved file.
This ID can then be used to get the file by sending a GET request to /[resourceID].
If enabled on the server, the resource can be deleted by sending a DELETE request to /[resourceID].
Again if a token has been set on the server, use a X-Token header when sending the request.