Skip to content

trying XML RPC client with an https request #142

@natoine

Description

@natoine

Hi,
I'd like to use your node xmlrpc module to make requests to a Odoo server
http://www.odoo.com/documentation/10.0/api_integration.html

I've tried :
const client = xmlrpc.createClient("https://[myOdooServer]/xmlrpc/2/common")
client.methodCall('version ', [], function (error, value) {
console.log('Method response for 'version': ' + value)
})

And I've got the following error :
http_client.js:55
throw new Error('Protocol "' + protocol + '" not supported. ' +
^
Error: Protocol "https:" not supported. Expected "http:"

Do I miss something or is this module not adapted for https requests ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions