Clone this wiki locally
The axiom-http module is something that I decided to create since it was a PITA to really do what I wanted within Java with Rhino. Instead it turned out to be much easier in JS.
What you get is the ability to make a blocking GET or POST, or an asynchronous call of either.
Basic usage is like this.
Within your application just do:
axiom.HTTP.get([some url], [data.json]);
axiom.HTTP.post([some url], [data.json]);
axiom.HTTP.ajax([some url], [data.json], [callback], [request type]);