rest-extensibility
Service icon

REST Extensibility

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 13 December 2023
 by 
0.0
 (0 ratings)
rest-extensibility

REST Extensibility

Details
Module to expose the REST Extensibility classes RestRequest and RestResponse, to be used in OnBeforeRequestAdvanced and OnAfterResponseAdvanced. Allows you for example to change the response status code, but only for certain actions.
Read more

Module to expose the REST Extensibility classes RestRequest and RestResponse

To be used in OnBeforeRequestAdvanced and OnAfterResponseAdvanced, as described in REST Extensibility API.

This way you can use some of the functionality in the RestRequest and RestResponse classes without having to write your own extension.

Allows you for example to change the response status code, but only for certain actions, by using the RestResponse_GetActionName action.

Normally, OnBeforeRequest, OnAfterResponse, OnBeforeRequestAdvanced or OnAfterResponseAdvanced apply to all actions in your REST API. Using the RestRequest_GetActionName and RestResponse_GetActionName actions you can do specific things only for some actions by adding a Switch of If condition using these functions.

Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team
Other assets in this category