Each folder contains a complete example of a srs program that consumes a REST service: /specs contains the specification of the relevant part of the service API /src contains the srs program with the functions that make the REST calls and the js program that uses these functions /src-gen contains the js program generated from the srs program To try it: 1) get dependencies node npm npm install xmlhttprequest npm install btoa npm install jsdom (additional modules may be required) 2) execute with node the test js program cd Dummy node src/DummyClientTest.js