I would like to fetch JasperReports Server saved input control values options to my visualize application. I found two ways to get it done 1. using JRSClient.resourcesSearch({ types: [ "reportOptions"], folderUri: "/public", limit: 2000, recursive: true, sortBy: "label", success: dosomething, error: function (err) { alert(err); } }); but this way I will be getting the folder level options not the report level 2. and second through ajax call giving the report level URL. anyway this will also not be working as I am trying to give server URL from local and it will give me error No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:1789' is therefore not allowed access. The response had HTTP status code 401. How can I achieve this?