...
Code Block | ||
---|---|---|
| ||
curl -v -H "Content-Type: application/xml" -d "<Customer><id>123</id><name>John</name></Customer>" http://localhost:8282/customerservicestockquote/view/customersIBM?param1=value1&m2param2=value2 |
In this request, there are two query parameters (customer name and ID) that must be set in the outgoing message from the ESB. We can configure the API to set those parameters as follows:
...