I'm new to Jasperserver but through multiple iterations I've been able to come up with this: //CODE var request = require("request"), qs = require('querystring'), url = 'localhost:8080/jasperserver/rest/resource/reports/test/UserReports', baseRequest = request.defaults({ jar: true });baseRequest.post({ url: "http://localhost:8080/jasperserver/rest/login?j_username=jasperadmin&j_password=jasperadmin"}, function (e, r, body) { baseRequest.get({ url: 'http://localhost:8080/jasperserver/rest/resource/reports/test/UserReports' }, function (e, r, body) { baseRequest.put({ url: 'http://localhost:8080/jasperserver/rest/report/reports/test/UserReports', body: '<resourceDescriptor></resourceDescriptor> ' }, function (e, r, body) { baseRequest.get({ url: 'http://localhost:8080/jasperserver/rest/report/58f342c1-a3a0-4df2-8855-6596deec9883?file=report' }, function (e, r, body) { console.log®; }); //console.log®; }); });}); //CODE Basically I have my report on Jasper Server and I'm trying to retrieve as a pdf through a Javascript file using node. Everything returns okay and fine except for my GET request at the end. It always returns a "report not found (uuid not found in session)" error, and I am unsure of how to get a uuid that stays constant. Note: The <resourceDescriptor> is there because the actual resourceDescriptor was simply too long and had very janky formatting.