Skip to content

Commit 048a8b1

Browse files
Update src/content/docs/browser-rendering/quick-actions-rest-api/screenshot-endpoint.mdx
Co-authored-by: Sofia <[email protected]>
1 parent e0d8002 commit 048a8b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/docs/browser-rendering/quick-actions-rest-api/screenshot-endpoint.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ The `/screenshot` endpoint renders the webpage by processing its HTML and JavaSc
99

1010
## Basic usage
1111

12+
Sets the HTML content of the page to `Hello World!` and then takes a screenshot. The option `omitBackground` hides the default white background and allows capturing screenshots with transparency.
13+
1214
```bash
1315
curl -X POST 'https://api.cloudflare.com/client/v4/accounts/<accountId>/browser-rendering/screenshot' \
1416
-H 'Authorization: Bearer <apiToken>' \

0 commit comments

Comments
 (0)