Skip to content

Commit 3952766

Browse files
authored
Update links-endpoint.mdx
wording changes to new excludeEternalLinks example
1 parent d29d703 commit 3952766

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/browser-rendering/rest-api/links-endpoint.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ console.log(links);
125125

126126
### Retrieve only visible links
127127

128-
In this example we can pass a `visibleLinksOnly` parameter to only return links that are visible on the page.
128+
Pass a `visibleLinksOnly` parameter to only return links that are visible on the page.
129129

130130
```bash
131131
curl -X POST 'https://api.cloudflare.com/client/v4/accounts/<accountId>/browser-rendering/links' \
@@ -217,7 +217,7 @@ curl -X POST 'https://api.cloudflare.com/client/v4/accounts/<accountId>/browser-
217217

218218
### Retrieve only links from the same domain
219219

220-
In this example we can pass a `excludeExternalLinks` parameter to only return links that are from the same domain of the site. Default setting is `false`.
220+
Pass a `excludeExternalLinks` parameter to only exclude links pointing to external domains. By default, this is set to `false`.
221221

222222
```bash
223223
curl -X POST 'https://api.cloudflare.com/client/v4/accounts/<accountId>/browser-rendering/links' \

0 commit comments

Comments
 (0)