diff options
| author | Julian Hurst <julian.hurst@digdash.com> | 2025-01-23 16:30:07 +0100 |
|---|---|---|
| committer | Julian Hurst <julian.hurst@digdash.com> | 2025-01-23 16:32:30 +0100 |
| commit | 641e45309da413d3f2d5a94f3e5b46d881a6a41a (patch) | |
| tree | 17569ad8c918a2bc15f01c091f29a81917b8c6c5 | |
| parent | 6ababe78852e5e2398fe5cb125cba7a0c9e6b44e (diff) | |
| download | box-641e45309da413d3f2d5a94f3e5b46d881a6a41a.tar.gz | |
Add info about X-ResourceMeta-Extension in index.html
| -rw-r--r-- | templates/index.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html index 0186d89..0bf6019 100644 --- a/templates/index.html +++ b/templates/index.html @@ -57,6 +57,8 @@ 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. 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. |
