# Web Nodes

# HTTP Req

Use a http request node to make any http based outbound calls.

The http request node can invoke an http endpoint providing the http url. It supports both http and https endpoints. The url can be passed either directly by setting the url string or by passing it as payload or variable.

The node also provides the option for setting security. Following application security options are supported basic auth, digest, bearer toke.

Adding custom headers

Set the header key value pair under the msg.headers field. The key value can be set using Set-property node or Function node. Eg: The below given is the implementation for adding a header with the key mycustomheader for the outbound HTTP Req node.


Setting header using set-property node

UsingSetPropertyForHeaders

Setting header using Function node

UsingFunctionForHeaders

Example: How to use HTTP Req node

# SOAP Req

Use a SOAP request node to make any http based outbound calls with SOAP based web service request.

The SOAP request node can invoke an http endpoint providing the http url. It supports both http and https endpoints. The WSDL url can be passed along with the operation to be invoked.

The node also provides the option for setting security. Following application security options are supported basic auth, digest, bearer token.

Example: How to use SOAP Req node