碧玉客户端
Jasper Server REST API 客户端,用于发布和运行报告。
用法
const jasperclient = require ( 'jasperclient' ) ;
const fs = require ( 'fs' ) ;
let client = new jasperclient ( {
host : 'jasper.example.com' ,
path : 'jasperserver' ,
username : 'username' ,
password : 'password' ,
useBasicAuth : true ,
} ) ;
// Publish a report
let publishResponse = client . reports . publish ( {
path : '/Re
1