From 3158adb1399da35556d9c9f3299d539bde9b4492 Mon Sep 17 00:00:00 2001 From: Florian Holzapfel Date: Fri, 16 Aug 2013 14:52:30 +0200 Subject: [PATCH] updated documentation to match the sample --- README.md | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 0caff477..0f3b4919 100644 --- a/README.md +++ b/README.md @@ -48,38 +48,38 @@ http.createServer(app).listen(3000, function() { ``` ``` -GET http://localhost/api/v1/customers/count -GET http://localhost/api/v1/customers -PUT http://localhost/api/v1/customers -POST http://localhost/api/v1/customers -DELETE http://localhost/api/v1/customers - -GET http://localhost/api/v1/customers/:id -PUT http://localhost/api/v1/customers/:id -POST http://localhost/api/v1/customers/:id -DELETE http://localhost/api/v1/customers/:id +GET http://localhost/api/v1/Customers/count +GET http://localhost/api/v1/Customers +PUT http://localhost/api/v1/Customers +POST http://localhost/api/v1/Customers +DELETE http://localhost/api/v1/Customers + +GET http://localhost/api/v1/Customers/:id +PUT http://localhost/api/v1/Customers/:id +POST http://localhost/api/v1/Customers/:id +DELETE http://localhost/api/v1/Customers/:id ``` ### Query ``` -GET http://localhost/api/v1/customers?name=~regex -GET http://localhost/api/v1/customers?name=value -GET http://localhost/api/v1/customers?name=>value -GET http://localhost/api/v1/customers?name=>=value -GET http://localhost/api/v1/customers?name=value +GET http://localhost/api/v1/Customers?name=>=value +GET http://localhost/api/v1/Customers?name=