mirror of
https://github.com/germondai/trawl.git
synced 2026-08-17 12:11:23 +02:00
docs: document method/body support and header sanitisation
This commit is contained in:
@@ -28,7 +28,7 @@ interface FlareSolverrRequest {
|
||||
| `cmd` | string | No | `"request.get"` or `"request.post"` (default `"request.get"`) |
|
||||
| `url` | string | Yes | The URL to scrape |
|
||||
| `maxTimeout` | number | No | Max wait in ms (default 60000) |
|
||||
| `postData` | string | No | POST body (only for `request.post`) |
|
||||
| `postData` | string | No | POST body (only for `request.post`). On TRAWL's native `/scrape` endpoint this field is named `body`; the `/v1` adapter maps `postData` → `body` internally so the FlareSolverr wire contract stays unchanged for existing callers. |
|
||||
| `headers` | object | No | Custom headers forwarded to the target across all tiers — see [Custom Headers](/api-reference/custom-headers) |
|
||||
|
||||
## Response
|
||||
|
||||
Reference in New Issue
Block a user