--server-basic-auth
- CLI
- --server-basic-auth
- REST
- CLI only
Requires HTTP Basic credentials, given as username:password, on every request. --server-token-auth replaces it when both are set.
Example
Start the server:
CLI
Run locally
zshot --server --server-basic-auth ops:s3cr3tRequest a capture:
curl -u ops:s3cr3t -o pipeline.png "http://127.0.0.1:3000/?url=https://zshot-cli.com/example_assets/zrm/"