Update restbucksCRUD example to use "crypto" library rather than "eel".

Updated readme.md to add curl command to test the server.
This commit is contained in:
2014-01-24 11:06:01 +01:00
parent d8487e6c12
commit 991389e9b9
4 changed files with 10 additions and 16 deletions
+5 -1
View File
@@ -155,6 +155,9 @@ Response success
} ]
}
note:
curl -vv http://localhost:9090/order -H "Content-Type: application/json" -d "{\"location\":\"takeAway\",\"items\":[{\"name\":\"Late\",\"option\":\"skim\",\"size\":\"Small\",\"quantity\":1}]}" -X POST
How to Read an order with GET
-----------------------------
@@ -192,7 +195,8 @@ Response
} ]
}
note:
curl -vv http://localhost:9090/order/1
How to Update an order with PUT
-------------------------------