Update example-screenshot-from-url.mdx

instead of providing a html string, this example should use the `url` parameter
This commit is contained in:
Martin Grubinger 2026-01-08 11:02:43 +01:00 committed by GitHub
parent c060eaa47c
commit 9367d99786
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,7 @@ curl -X POST 'https://api.cloudflare.com/client/v4/accounts/<accountId>/browser-
-H 'Authorization: Bearer <apiToken>' \
-H 'Content-Type: application/json' \
-d '{
"html": "Hello World!",
"url": "https://example.com/page",
"screenshotOptions": {
"omitBackground": true
}