From 9367d997869c43d11886960cc49a42fe596003b8 Mon Sep 17 00:00:00 2001 From: Martin Grubinger Date: Thu, 8 Jan 2026 11:02:43 +0100 Subject: [PATCH] Update example-screenshot-from-url.mdx instead of providing a html string, this example should use the `url` parameter --- .../partials/browser-rendering/example-screenshot-from-url.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7e897a75ce..ec52ccf302 100644 --- a/src/content/partials/browser-rendering/example-screenshot-from-url.mdx +++ b/src/content/partials/browser-rendering/example-screenshot-from-url.mdx @@ -3,7 +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!", + "url": "https://example.com/page", "screenshotOptions": { "omitBackground": true }