diff --git a/src/content/partials/browser-rendering/example-screenshot-from-url.mdx b/src/content/partials/browser-rendering/example-screenshot-from-url.mdx index 7e897a75ce3993f..8de9a4643496c66 100644 --- a/src/content/partials/browser-rendering/example-screenshot-from-url.mdx +++ b/src/content/partials/browser-rendering/example-screenshot-from-url.mdx @@ -3,10 +3,7 @@ curl -X POST 'https://api.cloudflare.com/client/v4/accounts//browser- -H 'Authorization: Bearer ' \ -H 'Content-Type: application/json' \ -d '{ - "html": "Hello World!", - "screenshotOptions": { - "omitBackground": true - } + "url": "https://example.com" }' \ --output "screenshot.png" ```