Screenshot Examples · Example 3 of 3 in What to Capture
Render Your Own HTML
A capture of your own HTML (custom_html) without a url: redirected_url is about:blank.
Asks for a capture of HTML sent in the request (custom_html), with no url.
The browser renders the given HTML instead of loading a page: the response has no url, redirected_url is about:blank and the file name starts with custom-html-. For long HTML, send it as a JSON body with Screenshot (POST).
Request
What this example sends. Every parameter is documented on Screenshot; the exact request is in the code panel.
| Parameter | Value |
|---|---|
custom_query | <h1>Hello from Deepinfo</h1><p>Rendered from custom_html.</p> |