Connector to handle and perform HTTP requests

Configurations


Listener Config

Parameters

Name Type Description Default Value Required

Name

String

The name of this configuration. With this name can be later referenced.

x 

Connection

The connection types that can be provided to this configuration.

x 

Base Path

String

 

Parse Request

Boolean

true

 

Interpret Request Errors

Boolean

false

 

Connection Types

Listener Connection
Parameters
Name Type Description Default Value Required

TLS Configuration

Tls

 

Protocol

Enumeration, one of:

  • HTTP

  • HTTPS

HTTP

 

Host

String

x 

Port

Number

x 

Use Persistent Connections

Boolean

true

 

Connection Idle Timeout

Number

30000

 

Reconnection Strategy

A retry strategy in case of connectivity errors

 

Disable Validation

Boolean

Disables connection validation

 

Associated Sources


Request Config

Parameters

Name Type Description Default Value Required

Name

String

The name of this configuration. With this name can be later referenced.

x 

Connection

The connection types that can be provided to this configuration.

x 

Api Configuration

 

Follow Redirects

Boolean

true

 

Send Body Mode

Enumeration, one of:

  • ALWAYS

  • AUTO

  • NEVER

AUTO

 

Request Streaming Mode

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

AUTO

 

Enable Cookies

Boolean

true

 

Parse Response

Boolean

true

 

Response Timeout

Number

 

Base Path

String

/

 

Connection Types

Request Connection
Parameters
Name Type Description Default Value Required

Proxy Config

One of:

 

Authentication

 

TLS Configuration

Tls

 

Protocol

Enumeration, one of:

  • HTTP

  • HTTPS

HTTP

 

Host

String

 

Port

Number

 

Use Persistent Connections

Boolean

true

 

Max Connections

Number

-1

 

Connection Idle Timeout

Number

30000

 

Client Socket Properties

 

Reconnection Strategy

A retry strategy in case of connectivity errors

 

Disable Validation

Boolean

Disables connection validation

 

Associated Operations

Operations

Request

<httpn:request>

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Path

String

/

 

Method

String

GET

 

Body

Any

#[payload]

 

Headers

Object

 

URI Parameters

Object

 

Query Parameters

Object

 

Host

String

 

Port

Number

 

Follow Redirects

Boolean

 

Send Body Mode

Enumeration, one of:

  • ALWAYS

  • AUTO

  • NEVER

 

Request Streaming Mode

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

 

Parse Response

Boolean

 

Response Timeout

Number

 

Output Type

Enumeration, one of:

  • STREAM

  • MULTIPART

  • FORM

  • ANY

ANY

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Response Validator

 

Output

Type

Any

Attributes Type

For Configurations.

Throws

  • HTTPN:CONNECTIVITY  

  • HTTPN:METHOD_NOT_ALLOWED  

  • HTTPN:TRANSFORMATION  

  • HTTPN:NOT_FOUND  

  • HTTPN:PARSING  

  • HTTPN:SERVICE_UNAVAILABLE  

  • HTTPN:SECURITY  

  • HTTPN:RESPONSE_VALIDATION  

  • HTTPN:BAD_REQUEST  

  • HTTPN:UNAUTHORIZED  

  • HTTPN:INTERNAL_SERVER_ERROR  

  • HTTPN:UNSUPPORTED_MEDIA_TYPE  

  • HTTPN:RETRY_EXHAUSTED  

  • HTTPN:TOO_MANY_REQUESTS  

  • HTTPN:FORBIDDEN  

  • HTTPN:TIMEOUT  

  • HTTPN:NOT_ACCEPTABLE  

Sources

Listener

<httpn:listener>

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Path

String

x 

Allowed Methods

String

 

Response Streaming Mode

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

AUTO

 

Redelivery Policy

Defines a policy for processing the redelivery of the same message

 

Parse Request

Boolean

 

Interpret Request Errors

Boolean

 

Reconnection Strategy

A retry strategy in case of connectivity errors

 

Response

 

Error Response

 

Output

Type

Any

Attributes Type

For Configurations.

Types

Tls

Field Type

Enabled Protocols

String

Enabled Cipher Suites

String

Trust Store

Key Store

Trust Store

Field Type

Path

String

Password

String

Type

  • Enumeration, one of:

    • jks

    • jceks

    • pkcs12

  • String

Algorithm

String

Insecure

Boolean

Key Store

Field Type

Path

String

Type

  • Enumeration, one of:

    • jks

    • jceks

    • pkcs12

  • String

Alias

String

Key Password

String

Password

String

Algorithm

String

Reconnect

Field Type

Frequency

Number

Count

Number

Blocking

Boolean

Reconnect Forever

Field Type

Frequency

Number

Http Request Attributes

Field Type

Client Certificate

Any

Headers

Object

Listener Path

String

Method

String

Query Params

Object

Query String

String

Relative Path

String

Remote Address

String

Request Path

String

Request Uri

String

Scheme

String

Uri Params

Object

Version

String

Redelivery Policy

Field Type

Max Redelivery Count

Number

Use Secure Hash

Boolean

Message Digest Algorithm

String

Id Expression

String

Object Store Ref

String

Http Listener Response Builder

Field Type

Status Code

Number

Reason Phrase

String

Body

Any

Headers

Object

Tcp Client Socket Properties

Field Type

Connection Timeout

Number

Send Tcp No Delay

Boolean

Linger

Number

Keep Alive

Boolean

Fail On Unresolved Host

Boolean

Send Buffer Size

Number

Receive Buffer Size

Number

Client Timeout

Number

Reuse Address

Boolean

Raml Api Configuration

Field Type

Location

String

Http Response Attributes

Field Type

Headers

Object

Reason Phrase

String

Status Code

Number

Basic Authentication

Field Type

Preemptive

Boolean

Username

String

Password

String

Digest Authentication

Field Type

Username

String

Password

String

Ntlm Authentication

Field Type

Domain

String

Workstation

String

Username

String

Password

String

Proxy

Field Type

Host

String

Port

Number

Username

String

Password

String

Ntlm Proxy

Field Type

Ntlm Domain

String

Host

String

Port

Number

Username

String

Password

String

Success Status Code Validator

Field Type

Values

String

Failure Status Code Validator

Field Type

Values

String