Stay organized with collections
Save and categorize content based on your preferences.
The Modules API provides functions that return information about the current
operating environment (module, version, and instance).
The Modules API also has functions that retrieve the address of a module, a
version, or an instance. This allows an application to send requests from one
instance to another, in both the development and production environments.
The instance ID of an automatic scaled module will be returned as a unique
base64 encoded value, e.g. e4b565394caa.
You can communicate between modules in the same app by fetching the hostname of
the target module:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["The Modules API offers functions to get information about the current operating environment, including module, version, and instance."],["This API can be used to get the address of a module, version, or instance, allowing requests to be sent between instances."],["The Modules API is designed for first-generation runtimes and provides information for upgrading to the corresponding second-generation runtimes."],["For automatic scaled modules, the instance ID is returned as a unique base64 encoded value."],["Communication between modules can be achieved by fetching the target module's hostname or by using the URL Fetch service."]]],[]]