Skip to content

Commit b3aab93

Browse files
authored
Update pdf-endpoint.mdx
1 parent a24ed52 commit b3aab93

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 5
66
---
77

8-
import { Tabs, TabItem } from "~/components";
8+
import { Tabs, TabItem, Render } from "~/components";
99

1010
The `/pdf` endpoint instructs the browser to generate a PDF of a webpage or custom HTML using Cloudflare's headless browser rendering service.
1111

@@ -137,3 +137,8 @@ curl -X POST https://api.cloudflare.com/client/v4/accounts/<acccountID>/browser-
137137
}' \
138138
--output "cloudflare.pdf"
139139
```
140+
141+
<Render
142+
file="setting-custom-user-agent"
143+
product="browser-rendering"
144+
/>

0 commit comments

Comments
 (0)