docs: document method/body support and header sanitisation

This commit is contained in:
germondai
2026-07-06 01:12:30 +02:00
parent ab8c34c216
commit 59f78f38e7
2 changed files with 40 additions and 1 deletions
+1 -1
View File
@@ -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