url-param "dl" downloads file

This commit is contained in:
ed
2025-08-24 20:54:28 +00:00
parent 68503444c7
commit 48d6224ec8
3 changed files with 46 additions and 20 deletions

View File

@@ -160,6 +160,7 @@ authenticate using header `Cookie: cppwd=foo` or url param `&pw=foo`
| method | params | result |
|--|--|--|
| GET | `?dl` | download file (don't show in-browser) |
| GET | `?ls` | list files/folders at URL as JSON |
| GET | `?ls&dots` | list files/folders at URL as JSON, including dotfiles |
| GET | `?ls=t` | list files/folders at URL as plaintext |