Universal Module

Universal Module can be used to perform an arbitrary API call to the service's API. It allows the user to specify all parameters of the request while using the App's connection.

Every app using API should have a Universal module. Each app can have one universal module at most.

Security notice

As the Universal Module allows the user to specify the target URL, it's highly important that the Universal Module has to use a relative path. Otherwise, one could point the request to his own custom servers and get access to the access tokens. So every time use a fixed base URL in this kind of module.

Universal Module which doesn't match this condition won't be approved by Make to be used in scenarios.

There are two types of universal module available. Choose one depending on the API you use:

Components

Components of the Universal Module are the same as for the Action.

pageAction

Available IML Variables

You can use all of the IML variables available in action modules in the universal module, except for the iterate directive.

Universal in a Scenario

When a universal module is used in a scenario, it is recommended to use it together with JSON > Create JSON module. Not only it is much easier to create the structure of JSON for the universal, but also all characters, which are part of JSON definition and should be considered as letters, are escaped.

Last updated