> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.utils.http.Response

- Component: `appmixer.utils.http.Response`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.utils.http 1.7.5](https://connectors.appmixer.com/connector/appmixer.utils.http/1.7.5.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.utils.http/1.7.5/component/appmixer.utils.http.Response>

This component returns HTTP response to Webhook

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Body (`body`) | textarea | Data to be send as response body. |
| Status Code (`statusCode`) | number | The status code of the response. |
| Headers (`headers`) | textarea | The headers object associated with the response. |

## Full metadata (component.json)

```json
{
  "name": "appmixer.utils.http.Response",
  "author": "Jimoh Damilola <jimoh@client.io>",
  "description": "This component returns HTTP response to Webhook",
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "body": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "object"
              }
            ]
          },
          "statusCode": {
            "type": "number"
          },
          "headers": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "object"
              }
            ]
          }
        }
      },
      "inspector": {
        "inputs": {
          "body": {
            "type": "textarea",
            "index": 1,
            "label": "Body",
            "tooltip": "Data to be send as response body."
          },
          "statusCode": {
            "type": "number",
            "index": 2,
            "label": "Status Code",
            "tooltip": "The status code of the response."
          },
          "headers": {
            "type": "textarea",
            "index": 3,
            "label": "Headers",
            "tooltip": "The headers object associated with the response."
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
