Skip to main content

Quantela platform user manual

HTTPRequest

Description

Makes an HTTP request and returns the response

Input

String (optional) - input URL

Output

String - HTTP request response

Method

The HTTP method to be used for the request. This can be one of the following:

  • GET

  • POST

  • HEAD

  • PUT

  • PATCH

  • DELETE

  • CONNECT

  • TRACE

  • OPTIONS

URL

The URL to be submitted. If an input string is provided then this will overwrite the URL specified here. If the URL contains a parameter enclosed by double parentheses then this will be exposed as an additional input parameter in the function node. For example, the URL https://mywebsite.com/{{endpoint}} will add a new input parameter called ‘endpoint’.

Headers

Optional key:value pair for HTTP header

Mode

This can be one of the following:

  • Cross-origin resource sharing (CORS)

  • No CORS (limited to HEAD, GET or POST)

Show response metadata

True or False. The status code of the response, along with a limited selection of exposed headers, can be viewed by selecting this option. Only a limited set of response headers is exposed by the browser for security reasons.