Skip to content

Odoo Version

Ignacio Buioli edited this page Jan 18, 2021 · 1 revision

Description

Get Odoo Version Data. This request is ideal for testing the connection to the server.

Endpoint

POST /odoo-api/common/version

Parameters

None

Examples

Python

import requests
import json

url = 'http://localhost:8069/odoo-api/common/version'
data = {'params': {}}
headers = {'Content-type': 'application/json'}

r = requests.post(url, data=json.dumps(data), headers=headers)

print(r.text)

Angular

this.http.post<any>('http://localhost:8069/odoo-api/common/version',
{params: {}}).subscribe(data => {
    console.log(data.result);
});
Clone this wiki locally