{
  "name": "http-request-curl",
  "title": "HTTP request (curl)",
  "category": "HTTP",
  "tags": [
    "curl",
    "http"
  ],
  "version": "1.0.0",
  "date": "2026-07-17",
  "notes": "Initial release.",
  "latest": false,
  "installable": false,
  "url": "https://catalog.dagweave.com/api/v1/items/http-request-curl/1.0.0.json",
  "entrypoint": "request",
  "parameters": [
    {
      "name": "url",
      "title": "URL",
      "description": "Absolute request URL.",
      "type": "string",
      "required": true,
      "example": "https://api.example.com/v1/resource"
    },
    {
      "name": "body",
      "title": "Body",
      "description": "Optional request body. Sent only when non-empty.",
      "type": "string",
      "required": false,
      "default": ""
    },
    {
      "name": "content-type",
      "title": "Content-Type",
      "description": "Content-Type header value for the request.",
      "type": "string",
      "required": false,
      "default": "application/json"
    },
    {
      "name": "method",
      "title": "Method",
      "description": "HTTP method to use.",
      "type": "string",
      "required": false,
      "default": "GET",
      "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE",
        "HEAD",
        "OPTIONS"
      ]
    },
    {
      "name": "token-secret-key",
      "title": "Token secret key",
      "description": "Key within the Secret that holds the bearer token.",
      "type": "string",
      "required": false,
      "default": "token"
    },
    {
      "name": "token-secret-name",
      "title": "Token secret name",
      "description": "Name of the Kubernetes Secret holding an optional bearer token. If the Secret is absent the Authorization header is omitted.",
      "type": "string",
      "required": false,
      "default": "http-bearer-token"
    }
  ],
  "images": [
    {
      "ref": "curlimages/curl@sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93",
      "repository": "curlimages/curl",
      "tag": "8.23.0",
      "digest": "sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/http-request-curl",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
