Skip to main content
OutSystems

How to get the effective URL of a REST Service

Question

How to get the effective URL of a web service configured in Service Center.

For example, how to get 'https://infra.local' from the configuration below?

Answer

The meta model of the REST services is not available in the development environment.

You must do the following:

  1. You must create a new extension that imports the entity ossys_rest_web_reference (physical name).
  2. Publish the extension.
  3. Reference the extension from your eSpace.
  4. Access the data, as shown in the example below.

Effective URL2.png

  • Was this article helpful?