Skip to content

return false when I ping #15

@Jerry4013

Description

@Jerry4013

Hi,
I installed this package to test the rest API of XRAY, but after I follow the README, when I try the "ping" API, I got a false instead a "pong". Could you please help with this issue? Thank you!

`import {XrayClient} from 'xray-client-js'

let xrayClient = new XrayClient({
serverUrl: 'myurl',
username: 'myusername',
password: 'mypassword!',
proxy: {host: 'myurl', port: 80, protocol: 'https'},
headers: { }
});

xrayClient.system().ping()
.then(result => {
console.log(result);
})
.catch(error => {
console.error(error);
});`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions