Skip to content

HTTP

logiccloud Control can use an HTTP endpoint as a data source. You can issue GET and POST requests with a definable payload, map the response to your program variables, and handle authentication including bearer tokens and token refresh.

Select Add HTTP connection and enter the endpoint information. After the connection has been created, select it in the outline tree to edit its configuration.

Connection settings:

  • Name: Name of the connection
  • Description: Description, optional
  • Url: the HTTP endpoint URL
  • Method: HTTP method, GET or POST
  • Body: request payload (for POST)
  • Authentication type: authentication method (for example None, Basic, Bearer)

For endpoints that require a bearer token obtained from a separate login call, the connection can perform an initial authentication request (for example a POST to a login URL with user/password) and reuse the returned token as a Bearer token on subsequent requests, refreshing it as needed.

In addition to making outbound requests, the connector can expose an endpoint that receives HTTP requests from other applications and maps the incoming data to program variables.

After adding a connection, you can map process variables to the request payload and/or the response.

  • Variable: the program variable that will be mapped
  • Value path: the path in the JSON request/response where the value is read or placed
  • Data type: data type of the variable