--har-capture-bodies
- CLI
- --har-capture-bodies
Includes response bodies in the HAR, each up to --archive-body-size-limit. Requires --har or HAR output.
Example
zshot -f zemu.png \
--har archive.har \
--har-capture-bodies \
https://zshot-cli.com/example_assets/zemu/index.html{
"url": "https://zshot-cli.com/example_assets/zemu/index.html",
"output_type": "png",
"with_har": true,
"har_capture_bodies": true
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/zemu/index.html","output_type":"png","with_har":true,"har_capture_bodies":true}' \
-D - -o zemu.png