Repository: camel
Updated Branches:
  refs/heads/master 425ef2bbd -> 7fcad0cda


Fixed readme


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/7fcad0cd
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/7fcad0cd
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/7fcad0cd

Branch: refs/heads/master
Commit: 7fcad0cdaaab5d9937da29395de1107dcb515cfa
Parents: 425ef2b
Author: Claus Ibsen <davscl...@apache.org>
Authored: Sun Sep 7 10:47:30 2014 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Sun Sep 7 10:47:30 2014 +0200

----------------------------------------------------------------------
 examples/camel-example-servlet-rest-blueprint/README.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/7fcad0cd/examples/camel-example-servlet-rest-blueprint/README.txt
----------------------------------------------------------------------
diff --git a/examples/camel-example-servlet-rest-blueprint/README.txt 
b/examples/camel-example-servlet-rest-blueprint/README.txt
index 82e2d7d..0f46216 100644
--- a/examples/camel-example-servlet-rest-blueprint/README.txt
+++ b/examples/camel-example-servlet-rest-blueprint/README.txt
@@ -42,15 +42,15 @@ The view operations are HTTP GET, and update is using HTTP 
PUT.
 
 From a web browser you can access the first two services using the following 
links
 
-      http://localhost:8181/camel-example-servlet-rest-blueprint/user/123    - 
to view the user with id 123
-      http://localhost:8181/camel-example-servlet-rest-blueprint/user/findAll  
 - to list all users
+      http://localhost:8181/camel-example-servlet-rest-blueprint/rest/user/123 
   - to view the user with id 123
+      
http://localhost:8181/camel-example-servlet-rest-blueprint/rest/user/findAll   
- to list all users
 
 
 From the command shell you can use curl to access the service as shown below:
 
-    curl -X GET -H "Accept: application/json" 
http://localhost:8181/camel-example-servlet-rest-blueprint/user/123
-    curl -X GET -H "Accept: application/json" 
http://localhost:8181/camel-example-servlet-rest-blueprint/user/findAll
-    curl -X PUT -d "{ \"id\": 666, \"name\": \"The devil\"}" -H "Accept: 
application/json" 
http://localhost:8181/camel-example-servlet-rest-blueprint/user
+    curl -X GET -H "Accept: application/json" 
http://localhost:8181/camel-example-servlet-rest-blueprint/rest/user/123
+    curl -X GET -H "Accept: application/json" 
http://localhost:8181/camel-example-servlet-rest-blueprint/rest/user/findAll
+    curl -X PUT -d "{ \"id\": 666, \"name\": \"The devil\"}" -H "Accept: 
application/json" 
http://localhost:8181/camel-example-servlet-rest-blueprint/rest/user
 
 
 If you hit any problems please let us know on the Camel Forums

Reply via email to