Closed xumes closed 6 years ago
Here is the code I have developed so far.
const jCognos = require('jcognos')
const url = 'https://zcogwass1.boulder.ibm.com/transform/cognitive/bi'
jCognos.getCognos(url)
.then(res => {console.log('ready for login', res)})
.catch(e => {console.log('error: ', e)})
and here, the error on console:
reginaldos-mbp:cognos reginaldosantos$ node cogplug.js
error: XMLHttpRequest is not defined
Your code is correct, my rollup config was wrong. Fixed this in a new release. npm update should fix this for you.
Hi Xumes, did that work for you? Just curious.
Hi, I am using another library, will try again using yours and I'll let you know if it is working now.
Hello,
Do you have any sample code? I am trying to connect to my Cognos server but I did not understood the parameters I need to pass.
Any help is appreciated.
Thanks in advance, Reginaldo Santos