Trillo Workbench
Search…
⌃K

Integration with External Services

This chapter describes how to connect external services from Trillo.

HTTPS APIs

At the lowest level, serverless functions can use HTTPS call to communicate with the external service.
The following APIs are available using Trillo SDK.
public static Result httpGet(String requestUrl, Map<String, String> headers);
public static Result httpPost(String requestUrl, Map<String, Object> body,
Map<String, String> headers);
public static Result httpPut(String requestUrl, Map<String, Object> body,
Map<String, String> headers);
public static Result httpDelete(String requestUrl, Map<String, Object> body,
Map<String, String> headers);

Connect using Swagger and OAuth2

Coming soon.

Import Service Definition

Invoke Service Through Platform API Gateway

Invoking Services from Functions