@ -8,7 +8,7 @@ Creating an HTTP endpoint using REST and its underlying principles to define you
This booster introduces the mechanics of interacting with a remote (exposed by <strong>Apache Camel</strong>) service using the HTTP protocol. It allows you to:
* Execute an HTTP GET request on `api/greetings/{name}`` endpoint; using the url parameter `{name}` and producing a response in JSON format with a payload of Hello, $name! with $name replaced by the value of the url parameter used into the request.
* Execute an HTTP GET request on `camel/greetings/{name}`` endpoint; using the url parameter `{name}` and producing a response in JSON format with a payload of Hello, $name! with $name replaced by the value of the url parameter used into the request.
This booster introduces the mechanics of interacting with a remote (exposed by <strong>Apache Camel</strong>) service using the HTTP protocol. It allows you to:
<dl>
<dtclass="lead"><strong>Execute an HTTP GET request on api/greetings/{name} endpoint:</strong></dt>
<ddclass="lead"><aclass="btn btn-info"href="/camel/greetings/Jacopo"target="_blank">api/greetings/{name}</a> this uses the url parameter <code>{name}</code> and produce a response in JSON format with a payload of Hello, $name! with $name replaced by the value of the url parameter used into the request.</dd>
<ddclass="lead"><aclass="btn btn-info"href="/camel/greetings/Jacopo"target="_blank">camel/greetings/{name}</a> this uses the url parameter <code>{name}</code> and produce a response in JSON format with a payload of Hello, $name! with $name replaced by the value of the url parameter used into the request.</dd>
<dtclass="lead"><strong>Browse the api's Swagger page:</strong></dt>
<ddclass="lead"><aclass="btn btn-info"href="/webjars/swagger-ui/index.html?url=/camel/api-doc&validatorUrl="target="_blank">Api Swagger page</a> this displays the swagger-ui for the rest api.</dd>