tests/soup.js
[gitlive] / tests / soup.js
index 062cb6c..77ce923 100644 (file)
@@ -27,10 +27,11 @@ netrc.split("\n").forEach(function(nl) {
 });
  
 // Soup.URI is a struct.
-var uri = new Soup.URI.c_new("http://www.roojs.com/admin.php/Roo/person");
+var uri = new Soup.URI.c_new("http://www.roojs.com/admin.php/Roo/person?limit=5");
 //var uri = new Soup.URI.c_new("http://www.roojs.com/head.php");
 
 var msg = new Soup.Message({method:"GET", uri:uri});
+// post..
 
 var auth = new Soup.Auth.c_new(Soup.AuthBasic.type, msg, "Basic realm=\"Test\"");
 print(auth);