Skip to content
Browse files

try to make it clearer what's going on.

  • Loading branch information...
1 parent b8ffbba commit 1a76a9cbc233f178e07a844d90b2583f5d1ca6b5 @lloyd committed May 27, 2011
Showing with 5 additions and 2 deletions.
  1. +2 −2 README.md
  2. +3 −0 example.js
View
4 README.md
@@ -1,9 +1,9 @@
## YOU'RE SENDING LOTS OF DATA THAT PEOPLE DON'T CARE ABOUT.
-Stop it.
+So stop it.
connect-select is [connect](https://github.com/senchalabs/connect)
-middleware that allows the *API client* to provide a
+middleware that allows the *client* to provide a
[JSONSelect](http://jsonselect.org) selector which will filter JSON on
the server. Usage looks like this:
View
3 example.js
@@ -53,3 +53,6 @@ var server = connect.createServer()
server.listen(60000, "127.0.0.1");
var a = server.address();
console.log("Server started on: http://" + a.address + ":" + a.port);
+
+console.log("Try a query, like: ");
+console.log(" $ curl http://" + a.address + ":" + a.port + "/?select=.favoriteColor");

0 comments on commit 1a76a9c

Please sign in to comment.
Something went wrong with that request. Please try again.