MelissaFlinn 8 years ago committed by Andrea Tarocchi
parent
commit
25d23a761a
  1. 32
      src/main/resources/META-INF/resources/rest-http-index.html

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

@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>REST HTTP Mission - Red Hat Fuse</title>
<title>REST HTTP - Red Hat Fuse</title>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
@ -11,21 +11,27 @@
<body>
<div class="container">
<div>
<h1>REST HTTP Mission - Red Hat Fuse</h1>
<h1>REST HTTP - Red Hat Fuse</h1>
<p class="lead">
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>
<p class="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>
<dt class="lead"><strong>Execute an HTTP GET request on camel/greetings/{name} endpoint:</strong></dt>
<dd class="lead"><a class="btn btn-info" href="/camel/greetings/Jacopo" target="_blank">camel/greetings/{name}</a> by using the URL parameter <code>{name}</code></dd>
<dt class="lead">Produce a response in JSON format with a payload of Hello, $name! </dt>
<dd class="lead">where $name is replaced by the value of the URL parameter from the HTTP GET 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 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>
<p class="lead">
This booster introduces the mechanics of interacting with a remote (exposed by Apache Camel) service using the HTTP protocol.
</p>
<p class="lead">
Use this booster to:
<ul class="lead">
<li>Execute an HTTP GET request on the <code>camel/greetings/{name}</code> endpoint:
<a class="btn btn-info" href="/camel/greetings/Jacopo" target="_blank">camel/greetings/{name}</a> </li>
<li>Produce a response in JSON format with a payload of <code>Hello, $name!</code>
where <code>$name</code> is replaced by the value of the <code>{name}</code> URL parameter from the HTTP GET request.</li>
<li>Browse the REST API's Swagger page: <a class="btn btn-info" href="/webjars/swagger-ui/index.html?url=/camel/api-doc&validatorUrl=" target="_blank">API Swagger page</a></li>
</ul>
</p>
</div>
</div>

Loading…
Cancel
Save