REST Extender

Stable Version 2.0.0 (O11)
Also available for 10
Published on 08 October 2018 by 
Created on 09 February 2018
Details

This library allows you to read and manipulate the values in the Response and Request of a REST API.

Designed to be used in the OnBeforeRequestAdvanced and OnAfterResponseAdvanced callback methods of a consumed REST API.

Following functions are available:

  • OnAfterResponseAdvanced
    • GetAllCookies
      • Returns a list of all the cookies in the current response
    • GetCookieByName
      • Return a specific cookie, identified by a name, from the current response
  • OnBeforeRequestAdvanced
    • SetCookies
      • Pass in a list of cookies to set before sending the request to the consumed API
    • SetContentType
      • Default content type set by OutSystems is "application/json; charset=UTF-8"
      • This function allows you to explicitly set the content type, i.e. "application/json"
Read More

Use in OnBeforeRequestAdvanced and OnAfterResponseAdvanced of a consumed REST API.

Following functions are available:

  • OnAfterResponseAdvanced
    • GetAllCookies
      • Returns a list of all the cookies in the current response
    • GetCookieByName
      • Return a specific cookie, identified by a name, from the current response
  • OnBeforeRequestAdvanced
    • SetCookies
      • Pass in a list of cookies to set before sending the request to the consumed API
    • SetContentType
      • Default content type set by OutSystems is "application/json; charset=UTF-8"
      • This function allows you to explicitly set the content type, i.e. "application/json"


* Icon courtesy of Icons8

What’s new (2.0.0)

Upgraded to Service for Platform 11

Reviews (0)
Category
Components, Libraries, Developer Tools
Tags
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Hanno who created this component.
Dependencies
REST Extender has no dependencies.
Requirements
Platform:
11.0.0.200
Database:
All
Stack:
All
Team
Component Consumers
No consumers yet.
Weekly Downloads