Base URL
Base URL is the main URL to a web service, which should be used for every module and remote procedure in an app, for example: https://mywebservice.com/api/v1.
When the service has a different domain for each user, the domain should be requested in the connection and then the value should be used in the Base tab.
Correct Base URL examples
An example from the Mailerlite app:
{
"baseUrl": "https://api.mailerlite.com/api/v2"
}
Incorrect Base URL examples
{
"baseUrl": "https://mydomain.freshsales.io"
}
Using the Base URL
All of the modules should build on top of baseURL
from the Base section (starting with a forward slash /
). It is very unlikely that a single module will need to have a completely different URL than the rest.

Last updated