Click the REST service in process and navigate to the
Bindings panel on the
General tab and select
ComponentResource/resource - RestService.
The
Components tab is displayed.
Query Parameters can be added in the
Resource Service Path field. Adding query parameters from the
Resource Service Path field applies query to all operations.
Query Parameters can also be added by selecting the
button from the Query and Header Parameters table for a particular operation of the
Request tab of the
Operation Details panel in the
Bindings tab.
Adding Request Header Parameters
Procedure
Click the REST service in the process and navigate to the
Bindings panel on the
General tab and select
ComponentResource/resource - RestService.
The
Components tab opens.
To add the Request Header Parameters, select the
button from the Query and Header Parameters table for a particular operation of the
Request tab of the
Operation Details panel in the
Bindings tab.
Header Parameters can also be added in
Response tab.
In the
Response tab of the
Operations Details panel, select the
Use HTTP Headers check box.
After selecting the
Use HTTP Headers check box, the
button gets activated in the Header Parameters table to add header parameters.
Deleting Parameters
Select the parameter to delete and click the red cross
icon.
Note: To reflect the above changes in the REST Reference Binding, a new Reference Binding should be created using the swagger file.