
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
qlik-rest-api
Advanced tools
Interact with Qlik Sense REST APIs (Repository, Proxy, Engine and SaaS) from a single package (NodeJS/JavaScript)
npm install --save qlik-rest-api
Note Node version >= 16.0.0
All requests are returning data in the following format:
{
data: {} or [] // whatever is returned (including the error(s) details if error)
status: number // HTTP status codes: 200, 201, 204, 404, 409 etc.
statusText: string // HTTP status text: "OK", "Created", "Bad Request" etc.
message: string // optional. In case of an error this prop will be the raw message
}
Any "physical" content (like certificates, qvf files, extension files etc.) have to be provided in advance. The package will not read any files from the file system by itself.
import https from "https";
import { QlikProxyClient } from "../src/index";
const pfx = fs.readFileSync("path/to/client.pfx");
const httpsAgent = new https.Agent({
pfx: pfx,
});
const config = {
host: "my-sense-host",
port: 4243,
httpAgent: httpAgent,
authentication: {
user_dir: "SOME_DIR",
user_name: "SOME_USER",
},
};
const proxyClient = new QlikProxyClient(config);
const result = await proxyClient.Get("session");
import https from "https";
import { QlikEngineClient } from "../src/index";
const pfx = fs.readFileSync("path/to/client.pfx");
const config = {
host: "my-engine-host",
port: 4747,
httpAgent: new https.Agent({ pfx: pfx }),
authentication: {
user_dir: "SOME_DIR",
user_name: "SOME_USER",
},
};
const engineClient = new QlikProxyClient(config);
const result = await engineClient.Get("engine/healthcheck");
import fs from "fs";
import https from "https";
import { QlikRepositoryClient } from "qlik-rest-api";
const cert = fs.readFileSync(`path/to/client.pem`);
const key = fs.readFileSync(`path/to/client_key.pem`);
const httpsAgentCert = new https.Agent({
rejectUnauthorized: false,
cert: cert,
key: key,
});
const config = {
host: "my-sense-host.com",
port: 4242,
httpsAgent: httpsAgentCert,
authentication: {
user_dir: "SOME_DIR",
user_name: "SOME_USER",
},
};
const repoClient = new QlikRepositoryClient(config);
// list all apps with their name starting with "operations"
const qlikApps = await repoClient.Get(`app?filter=(name sw 'operations')`);
Developer documentation for all methods can be found here
FAQs
Interact with multiple Qlik Sense REST APIs
We found that qlik-rest-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.