XML sample file
xml_product_catalog_sample.xml
295 B
application/xml
SHA256 verified
File details
Filename
xml_product_catalog_sample.xmlSize295 B (295 bytes)
MIME type
application/xmlExtension
.xmlSHA256
26793ca4f85ddb1700b45b64fe664df20b0d08d2d0f92b4dce564e521194b080Download commands
Use in scripts and tests
curl -L -o xml_product_catalog_sample.xml \
https://samplefile.com/samples/download/document/xml/xml_product_catalog_sample.xml/
wget -O xml_product_catalog_sample.xml \
https://samplefile.com/samples/download/document/xml/xml_product_catalog_sample.xml/
import requests
url = "https://samplefile.com/samples/download/document/xml/xml_product_catalog_sample.xml/"
resp = requests.get(url)
with open("xml_product_catalog_sample.xml", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/document/xml/xml_product_catalog_sample.xml/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("xml_product_catalog_sample.xml", buf);
# Download and verify SHA256
curl -L -o xml_product_catalog_sample.xml https://samplefile.com/samples/download/document/xml/xml_product_catalog_sample.xml/
echo "26793ca4f85ddb1700b45b64fe664df20b0d08d2d0f92b4dce564e521194b080 xml_product_catalog_sample.xml" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/document/xml/xml_product_catalog_sample.xml/").content
assert hashlib.sha256(data).hexdigest() == "26793ca4f85ddb1700b45b64fe664df20b0d08d2d0f92b4dce564e521194b080"
More XML files
Other XML Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
xml_malformed_payload_sample.xml |
168 B | e14306061df5ab54… |
Download |
xml_sample_file_1MB.xml |
1.0 MB | fbd28e49e2d4749f… |
Download |
xml_sample_file_200KB.xml |
200.0 KB | f94606c415e55d9d… |
Download |
xml_sample_file_2MB.xml |
2.0 MB | ae8f82ad252cbe9c… |
Download |
xml_sample_file_500KB.xml |
500.0 KB | f7253cb90a946d7c… |
Download |
xml_sample_file_50KB.xml |
50.0 KB | a9745f837c9b67d6… |
Download |
Learn more