Hybrid Integration 10.2 | Integrating On-Premises Applications | Creating REST applications | Configuring a REST Resource Using the URL Template-Based Approach
 
Configuring a REST Resource Using the URL Template-Based Approach
 
Considerations for Specifying the URL template in a REST V2 Resource Operation
Examples of Configuring REST Resources Using the URL Template-Based Approach
You can use the URL template-based approach to configure REST resources. In this approach, you define a URL template for client requests to use and invoke the resources.
REST resources configured using this approach are also known as REST V2 resources.
For each REST V2 resource, you must define operations that include the following:
*The format of the URL that REST clients must follow when sending requests to Integration Server acting as the REST server. Integration Server attempts to match a request URL received from any application against the URL template defined for a REST V2 resource operation and determines whether the request URL is valid.
*The HTTP methods supported by the resource operation.
*The flow service associated with a resource operation. You can either associate an existing service with a resource operation or create a new service and associate it with the resource operation.
The URL template-based approach provides you with greater flexibility than the legacy approach in defining REST resources. For a REST V2 resource, you can define multiple operations and associate each operation with a URL template, HTTP methods, and a flow service. In addition, you can edit these details based on your requirements.
Important: You cannot configure REST V2 resources when Integration Server is deployed in a multitenanted environment.

Copyright © 2015- 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release