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> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <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" <link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
@ -11,21 +11,27 @@
<body> <body>
<div class="container"> <div class="container">
<div> <div>
<h1>REST HTTP Mission - Red Hat Fuse</h1> <h1>REST HTTP - Red Hat Fuse</h1>
<p class="lead"> <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. 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.
By using this Fuse booster, you can implement this mission by quickly prototyping and flexibly designing your REST API.
</p> </p>
<p class="lead"> <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: By using this Fuse booster, you can implement this mission to quickly prototype and flexibly design your REST API.
<dl> </p>
<dt class="lead"><strong>Execute an HTTP GET request on camel/greetings/{name} endpoint:</strong></dt> <p class="lead">
<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> This booster introduces the mechanics of interacting with a remote (exposed by Apache Camel) service using the HTTP protocol.
<dt class="lead">Produce a response in JSON format with a payload of Hello, $name! </dt> </p>
<dd class="lead">where $name is replaced by the value of the URL parameter from the HTTP GET request.</dd> <p class="lead">
<dt class="lead"><strong>Browse the API's Swagger page:</strong></dt> Use this booster to:
<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> <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> </p>
</div> </div>
</div> </div>

Loading…
Cancel
Save