Use the APIs in the RestClient module to utilize the service broker to manage REST API calls.
Obtains a cancel token source object. The cancel token source object can cancel a request by passing a token as a signal to it.
Obtains an entry point to the HeaderProcessor object that contains APIs to perform external header-related actions on service-broker fetch calls.
- invokeRestApi(routeKey, optionsObject, context)
Invokes a specific Pega REST API using a route key.
Uses a cancel token source object to determine if a request has been canceled.
Object containing the properties that are sent along with a request to invoke a REST API.