datasette --get --headers option, closes #2578

This commit is contained in:
Simon Willison 2025-11-04 18:12:15 -08:00
commit ce464da34b
3 changed files with 23 additions and 1 deletions

View file

@ -121,6 +121,7 @@ Once started you can access it at ``http://localhost:8001``
the root user
--get TEXT Run an HTTP GET request against this path,
print results and exit
--headers Include HTTP headers in --get output
--token TEXT API token to send with --get requests
--actor TEXT Actor to use for --get requests (JSON string)
--version-note TEXT Additional note to show on /-/versions