automation-pilot-executor-httprequestlisted
Install: claude install-skill williamcorrea23/sap-router-skill
# HTTP Executor Guide
The HTTP executor (`http-sapcp:HttpRequest:1`) is the most commonly used executor in Automation Pilot. This guide covers everything you need to build robust HTTP-based commands.
## Parameters Reference
| Parameter | Type | Required | Default | Notes |
|-----------|------|----------|---------|-------|
| `url` | string | ✅ | - | Use `toUrlEncoded` for dynamic parts |
| `method` | string | ✅ | - | GET, POST, PUT, PATCH, DELETE |
| `headers` | object | ❌ | - | JSON object: `{"Content-Type": "application/json"}` |
| `body` | string | ❌ | - | Use `toEscapedJson` for dynamic JSON values |
| `timeout` | number | ❌ | 5 | Seconds (1-90, recommend ≤10) |
| `responseBodyTransformer` | string | ❌ | - | `toObject`, `toString`, `toNumber`, `.nested.path` |
| `user` | string | ❌ | - | Basic auth username OR OAuth client ID |
| `password` | string | ❌ | - | Basic auth password OR OAuth client secret |
| `tokenUrl` | string | ❌ | - | OAuth token endpoint |
| `clientId` | string | ❌ | - | OAuth client ID for client credentials flow |
| `clientSecret` | string | ❌ | - | OAuth client secret for client credentials flow |
| `clientCert` | string | ❌ | - | X509 certificate + key (PEM) for mTLS/cert-based OAuth; use with `certurl`-based `tokenUrl` |
| `refreshToken` | string | ❌ | - | OAuth refresh token; when provided, `user`/`password` are ignored |
| `successResponseCodes` | string | ❌ | - | JSON array of HTTP status codes treated as success, e.g. `"[\"503\"]"`. Overrides