Base URL
Base URL is the main URL to a web service that 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"
}An example from the Freshsales app:
{
"baseUrl": "https://{{connection.domain}}.freshsales.io"
}Incorrect Base URL examples
{
"baseUrl": "https://mydomain.freshsales.io"
}{
"baseUrl": "https://mailerlite.heroku.com/development"
}Using the Base URL
All of the modules should build on top of the 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

