You can read the HTTP query parameter as below.
For this example, I assumed that proxy received the request with the firstName value and lastName value as query parameter.
Now you can read the query parameter as below
Here, firstName and lastName values will assign to the properties.
For this example, I assumed that proxy received the request with the firstName value and lastName value as query parameter.
http://tharanga:8280/services/Proxy4?firstName=tharanga&lastName=wijeweera
Now you can read the query parameter as below
<property name="param_a" expression="$url:firstName"/> <property name="param_b" expression="$url:lastName"/>
Here, firstName and lastName values will assign to the properties.
No comments:
Post a Comment