feat: delete content

This commit is contained in:
2026-04-11 23:11:44 +02:00
parent f1abfbd9bd
commit 7077178885
2 changed files with 27 additions and 0 deletions
+13
View File
@@ -31,6 +31,19 @@ tar -czC dist . | curl -X PUT \
http://stapler-host/target/
```
### Delete page
```txt
DELETE /{page}/
```
```bash
# delete /target/
curl -X DELETE \
-H 'X-Token: <TOKEN>' \
http://stapler-host/target/
```
## TODO
- [x] basic http server