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.
1
public static Result httpGet(String requestUrl, Map<String, String> headers);
2
3
public static Result httpPost(String requestUrl, Map<String, Object> body,
4
Map<String, String> headers);
5
6
public static Result httpPut(String requestUrl, Map<String, Object> body,
7
Map<String, String> headers);
8
9
public static Result httpDelete(String requestUrl, Map<String, Object> body,
10
Map<String, String> headers);
Copied!

Connect using Swagger and OAuth2

Coming soon.

Import Service Definition

Invoke Service Through Platform API Gateway

Invoking Services from Functions