The REST API Level 0 mission shows how to map business operations to a remote procedure call endpoint over HTTP using a REST framework. This mission corresponds to Level 0 in the Richardson Maturity Model.
By using this Fuse booster, you can implement this mission by quickly prototyping and flexibly designing your REST API.
The REST API Level 0 mission demonstrates how to map business operations to a remote procedure call endpoint over HTTP using a REST framework. This mission corresponds to Level 0 in the Richardson Maturity Model.
</p>
<pclass="lead">
This booster introduces the mechanics of interacting with a remote (exposed by Apache Camel) service using the HTTP protocol. Use this booster to:
<dl>
<dtclass="lead"><strong>Execute an HTTP GET request on camel/greetings/{name} endpoint:</strong></dt>
<ddclass="lead"><aclass="btn btn-info"href="/camel/greetings/Jacopo"target="_blank">camel/greetings/{name}</a> by using the URL parameter <code>{name}</code></dd>
<dtclass="lead">Produce a response in JSON format with a payload of Hello, $name! </dt>
<ddclass="lead">where $name is replaced by the value of the URL parameter from the HTTP GET 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 page displays the Swagger UI for the REST API.</dd>
</dl>
By using this Fuse booster, you can implement this mission to quickly prototype and flexibly design your REST API.
</p>
<pclass="lead">
This booster introduces the mechanics of interacting with a remote (exposed by Apache Camel) service using the HTTP protocol.
</p>
<pclass="lead">
Use this booster to:
<ulclass="lead">
<li>Execute an HTTP GET request on the <code>camel/greetings/{name}</code> endpoint: