Custom Front End URL
Resource URL/Front End URL
From Quantum Fabric V8 SP3 onwards, using Quantum Fabric, you can map your endpoint/back-end URL of an operation to a front-end URL. The front-end URL of an operation contains custom details, which does not expose in the original details of the back-end URL. So, you can use the front-end URL to send request to the back-end securely, instead of the original back-end URL.
For example:
- The following is a sample back-end URL of an operation to send a request:
BaseURL/Services/<Integration_Service_Name>/<Operation_Name>
- For example,
http://news.google.com/Services/<Integration_Service_Name>/<Operation_Name>
- For example,
- The following is a sample front end URL of an operation to send a request:
/Services/<Integration_Service_Name>/<Operation_Path>
NOTE: To walk-through defining front-end URLs for service APIs with Quantum Fabric, take a look at our hands-on tutorial for API Management – Front End URLs.
Advantages:
- A front-end URL contains a custom data, which does not expose the original data of the back-end operation.
- You can map more than one front-end URLs to one base back-end URL and perform different operations. For example, you can configure four of the front-end URLs to perform CRUD operations based on the same back-end URL.
NOTE: By default, the Front End URL check box is not selected. And the URL path (populated with an operation name by default) in the Resource Path field is disabled from editing.
To enable a front end URL, do the following:
- Create an operation for an in integration service.
- In the Operation configuration page, in the Advanced section, select the Front End URL check box. The Resource Path field is editable now.
- Configure the front-end URL in the Resource Path field.
By default, the Resource Path field is configured with the
/Services/<Integration_Service_Name>/<Operation_path>
.The
<Operation_Path>
is the operation name. You can add request input parameters to the path as verbs. This is optional. -
Configure
request input parameters
asverbs
in a in curly braces ( { } ) to the Operation_path, if required.For example:
/Services/<Integration_Service_Name/<Operation_Name>/{Request_Input_Param}
- Save the operation.
IMPORTANT: If you clear the Front End URL check box, the Console resets the default value in the URL path. And you cannot access the endpoint by using the front-end URL that you configured earlier.
The Front-end URL is divided into two parts.
/Services/<Integration_Service_Name>/ | <Operation_Path> |
---|---|
|
NOTE: An |
Resource Method/Front End HTTP Method
You can select which HTTP method to invoke on the integration server. Select the Front End HTTP Method field. By default, the field is set to Post method.
NOTE: The front-end HTTP methods are used for all non-SDK clients such as API Management users. Invoking a service from an SDK will continue to use the POST method for operations.