Skip to main content





Preprocess REST API Requests

OutSystems allows you to run logic before executing each request of an exposed REST API.

For that, do the following:

  1. In the Logic tab, open the Integrations folder.
  2. In the REST API, set the property On Request to New OnRequest.
  3. Open the OnRequest callback action that is now available under the REST API.
  4. Design the logic to preprocess the request.

Once in use, the OnRequest callback will be executed for all methods exposed by the REST API.

  • Was this article helpful?