You need an event listener in Unite for API Router
and in your /srv/HelloWorld/APIRouter-match.js
file you need the following:
const app = require('app');
async function call (method, endpoint, query = {}) {
/**
* The following two settings are borrowed from the SEPHP Bridge app
*/
const url = await app.setting('sephp:url');