Commit 2086a8da authored by Aaron Tidwell's avatar Aaron Tidwell

working example in readme

parent 445a1b47
...@@ -92,6 +92,9 @@ Also, I think the server might be sending an invalid content-length header on ra ...@@ -92,6 +92,9 @@ Also, I think the server might be sending an invalid content-length header on ra
[Error: Parse Error] bytesParsed: 0, code: 'HPE_INVALID_CONSTANT' in node. [Error: Parse Error] bytesParsed: 0, code: 'HPE_INVALID_CONSTANT' in node.
``` ```
hrm, works via curl:
curl -d '' https://tidwell:key@api.challonge.com/v1/tournaments/sometesttourney1/participants/randomize.json
--- ---
####The structure of this api wrapper is ripped off from https://github.com/nodejitsu/nodejitsu-api ####The structure of this api wrapper is ripped off from https://github.com/nodejitsu/nodejitsu-api
\ No newline at end of file
...@@ -202,9 +202,9 @@ function mupdate() { ...@@ -202,9 +202,9 @@ function mupdate() {
//index(); index();
//create(); //create();
show(); //show();
//update(); //update();
//destroy(); //destroy();
//start(); //start();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment