New function get_absolute_path_to_module in cloud_http package

The new function get_absolute_path_to_module in the cloud_http package allows developers to more easily use the base path of an application in their websites. The use of a base path allows parallel use of the same logic on Invantive Cloud, Invantive App Online as well as through a proxy such as AWS CloudFront.

Use

The cloud_http package has been extended by the new function:

cloud_http.get_absolute_path_to_module()

The function returns the URL path for the root URL of the module.

For example, when an application module has an URL like:

https://cloud.invantive.com/app/development/applications/4e081ac0-9e24-4276-9e06-721838cf6720/execute/2757/modules/b4d194a0-0729-424b-a0c5-350142ec5efd/../.../...

the result will be:

https://cloud.invantive.com/app/development/applications/4e081ac0-9e24-4276-9e06-721838cf6720/execute/2757/modules/b4d194a0-0729-424b-a0c5-350142ec5efd

For an overview of all availables PSQL packages, see Invantive UniversalSQL generic PSQL packages.