Browse Source

ENTESB-9124 - Change api path of fuse-rest-http-booster in readme

pull/3/head
Andrea Cosentino 8 years ago
parent
commit
327868b279
  1. 2
      README.adoc
  2. 2
      src/main/resources/META-INF/resources/rest-http-index.html

2
README.adoc

@ -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.
* Browse the api's Swagger page.
== Deployment options

2
src/main/resources/META-INF/resources/rest-http-index.html

@ -20,7 +20,7 @@
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>
<dt class="lead"><strong>Execute an HTTP GET request on api/greetings/{name} endpoint:</strong></dt>
<dd class="lead"><a class="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>
<dd class="lead"><a class="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>
<dt class="lead"><strong>Browse the api's Swagger page:</strong></dt>
<dd class="lead"><a class="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>
</dl>

Loading…
Cancel
Save