Actions16
- Amazon Pricing API Actions
- Amazon Product API Actions
- Amazon Search API Actions
- ChatGPT API Actions
- Fast Search API Actions
- Gemini API Actions
- Google Search API Actions
- HTML API Actions
- Usage Actions
- Walmart Product API Actions
- Walmart Search API Actions
- YouTube Metadata API Actions
- YouTube Search API Actions
- YouTube Subtitles API Actions
HTML API → PUT
AI-generatedSummary
Send a PUT request through ScrapingBee’s HTML API to a required target URL, with optional forwarded headers, request body, and scraping settings. Return the response as JSON or text in the item’s JSON data, or as binary data when the response is not JSON or text.
Inputs
- URL (required) — Target webpage URL to scrape.
- Forward Headers — When enabled, forwards chosen headers. Supply them as key/value pairs (header names are prefixed with
Spb-automatically) or raw JSON (prefix header names withSpb-). - Send Body — When enabled, sends a body with the PUT request. Choose form URL-encoded parameters, a JSON body, or raw text with a configurable Content-Type. Sending a body also enables header forwarding.
- Additional Fields — Optional ScrapingBee settings, including extraction rules, rendering and wait behavior, proxy and session settings, response formats, screenshots, and viewport dimensions. Only non-empty values are passed as request parameters.
Output shape
One output item per input item; the response is parsed into JSON data or binary data according to its Content-Type.
For an
application/jsonresponse, JSON data contains the parsed response; if parsing fails, it contains arawstring. Fortext/*, JSON data contains the response text indata. Other content types are returned as binary data, with adirectoryfield in JSON data. With Continue On Fail enabled, errors are returned in JSON data undererror; otherwise the operation throws.
Examples
Example 1: Send a JSON PUT request
Set URL, enable Send Body, choose JSON, and provide the body. Optionally set extraction or rendering fields.