Browse Source

rest-http-index.html edited with suggestion by Melissa Flinn https://github.com/jboss-fuse/fuse-rest-http-booster/pull/16

pull/18/head
Andrea Tarocchi 8 years ago committed by Andrea Tarocchi
parent
commit
847cf25068
  1. 18
      src/main/resources/META-INF/resources/rest-http-index.html

18
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 Mission - 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,18 +11,20 @@
<body>
<div class="container">
<div>
<h1>Rest Http Mission - Red Hat Fuse</h1>
<h1>REST HTTP Mission - 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 corresponds to Level 0 in the Richardson Maturity Model.
Creating an HTTP endpoint using REST and its underlying principles to define your API lets you quickly prototype and design the API flexibly.
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.
</p>
<p class="lead">
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:
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> 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>
<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>
</p>
</div>

Loading…
Cancel
Save