mirror of
https://github.com/cloudflare/cloudflare-docs.git
synced 2026-01-16 23:11:06 +00:00
Update example-screenshot-from-url.mdx
instead of providing a html string, this example should use the `url` parameter
This commit is contained in:
parent
c060eaa47c
commit
9367d99786
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue