rest-extender

REST Extender

Stable version 2.0.1 (Compatible with OutSystems 11)
Other versions available for 10
Published on 01 July 2019 by 
5.0
 (1 rating)
rest-extender

REST Extender

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.
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"
    • SetSecurityProtocol
      • Allows setting the Security Protocol to be used for the request, i.e. SSL3, TLS, TLS1.1, TLS1.2
    • SSL_2Way_SetCertificate_WithBasicAuth
      • Allows setting the p12 Certificate used for two-way SSL authentication using Basic Authentication


* Icon courtesy of Icons8

What’s new (2.0.1)

Added two new actions:

  1. SetSecurityProtocol - Allows setting the Security Protocol to be used for the request, i.e. SSL3, TLS, TLS1.1, TLS1.2
  2. SSL_2Way_SetCertificate_WithBasicAuth - Allows setting the p12 Certificate used for two-way SSL authentication using Basic Authentication
Reviews (0)
Related assets
More from Hanno