Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
A simple module for get and post requests in Juice
Rather than have awkward sounding methods like postHTML (sounds like you're posting HTML, when in fact you're doing a POST and expecting HTML as the response) everything now uses fetchFoo methods.
Latest commit 24d2766
Dec 16, 2009
http-fetch ========== A simple module for get and post requests in Juice. Usage is half-documented (hell, the thing is only half written) inline, but here's an example: require( "http-fetch" ).getAsJSON( "http://foo/bar.json" ); To use it (for now) you'll need the combined xml_arabica and curl branches of flusspferd. You can grab it at the xml_arabica branch on my fork.