Odoo Help


How to connect to the Web Services API with ODOO Online version

Cyril Guegan
on 10/21/16, 11:02 AM 319 views


I started to use ODOO Online version (in trial mode) and I would like to use the API with XMLRPC but I can't connect to it.

I use a xmlrpc client with Node.js

var clientOptions = { host: this.url , port: this.port , path: '/xmlrpc/2/common' }

var client = xmlrpc.createClient(clientOptions);
var params = [];
client.methodCall('authenticate', params, function(error, value) {

        return callback(error, null);

    uid = value;
    return callback(null);

I tried port 8069 but I got a ECONNREFUSED

I tried ports 80 and 443 but it return HTML

I followed the instruction (http://www.odoo.com/documentation/9.0/api_integration.html) and changed my user password.


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/21/16, 11:02 AM
Seen: 319 times
Last updated: 10/21/16, 11:07 AM