Download
- Output type
- download
The raw bytes equivalent of what a web browser would download from this page. Depending on the mime type received for the content, an extension for the output will be inferred; if no extension can be inferred and a file name is not specified, .bin will be the chosen extension.
API Usage
When requesting download type over the API, the Content-Type of the response will reflect what the browser received.
Example
zshot -t download https://zshot-cli.com/example_assets/zrm/leads.csv{
"url": "https://zshot-cli.com/example_assets/zrm/leads.csv",
"output_type": "download"
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/zrm/leads.csv","output_type":"download"}' \
-o leads.csv