--no-fail
- CLI
- --no-fail
- REST
- fail
Considers any non-2xx HTTP response a success, including 401, 403 or 500.
Example
zshot --no-fail -f page.png https://zshot-cli.com/missing{
"url": "https://zshot-cli.com/missing",
"output_type": "png",
"fail": false
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/missing","output_type":"png","fail":false}' \
-o page.png