POST /api/ingest-http — Ingest HTTP Data
Import HTTP request/response data into the database for scanning. Supports multiple input formats. Headers:| Header | Required | Description |
|---|---|---|
Content-Type | Yes | Must be application/json |
X-Project-UUID | No | Project UUID to scope the imported data. Falls back to the default project if omitted. |
| Field | Type | Required | Description |
|---|---|---|---|
input_mode | string | Yes | Input format (see modes below) |
url | string | No | Override URL (used as base URL for some modes) |
content | string | No | Raw content (plaintext) |
content_base64 | string | No | Base64-encoded content |
http_request_base64 | string | No | Base64-encoded raw HTTP request (for burp_base64) |
http_response_base64 | string | No | Base64-encoded raw HTTP response (for burp_base64) |
| Mode | Description | Content field |
|---|---|---|
url | Single URL | content |
url_file | Newline-separated list of URLs | content |
curl | Single curl command | content |
burp_base64 | Base64 raw HTTP request (+response) | http_request_base64 |
openapi / swagger | OpenAPI/Swagger spec (JSON or YAML) | content |
postman_collection | Postman Collection v2 | content |
har / http_archive | HAR (HTTP Archive) 1.2 JSON | content |
Ingest a URL
Ingest a curl command
Ingest a list of URLs
Ingest a raw HTTP request (base64)
Ingest a raw HTTP request with a URL hint (base64)
Raw HTTP requests don’t contain the scheme (https vs http) and the Host header alone may not reflect the actual target (e.g. behind a reverse proxy). Provide url alongside http_request_base64 so the parser can resolve the correct scheme and hostname.
url field provides the scheme (https) and the public hostname (app.example.com), overriding whatever Host header appeared in the raw request.
Ingest a HAR file
Ingest an OpenAPI spec
Ingest into a specific project
Use theX-Project-UUID header to scope imported data to a project. If omitted, data is stored under the default project.
