I have recently deployed jsreport on my windows server.
My System config is :
- Windows server 2012 R2 64 bit
- IIS 8.5
- iisnode for 7.X 64 bit
I am getting "400 Bad Request" in response when requesting for report generation using jsreport-browser-client-dist. When I redirect the same request to jsreportonline, It works just fine.
Also during deployment of the jsreport on server, the security tool has removed the following file due to some security concern:
jsreport\node_modules\winser-with-api\bin\nssm.exe
Request:
{
"template": {
"content": "<div>Hello</div>",
"engine": "none",
"recipe": "phantom-pdf",
"phantom": {
"format": "A3",
"footerHeight": "140px",
"footer": "<div>Footer</div>",
"printDelay": 1000
}
}
}