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.
Create a new HTTP connection
Section titled “Create a new HTTP connection”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 connectionDescription: Description, optionalUrl: the HTTP endpoint URLMethod: HTTP method,GETorPOSTBody: request payload (forPOST)Authentication type: authentication method (for exampleNone,Basic,Bearer)
Authentication and token refresh
Section titled “Authentication and token refresh”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.
Inbound endpoint
Section titled “Inbound endpoint”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.
Mapping process variables
Section titled “Mapping process 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 mappedValue path: the path in the JSON request/response where the value is read or placedData type: data type of the variable