-
Notifications
You must be signed in to change notification settings - Fork 32
Odoo Version
Ignacio Buioli edited this page Jan 18, 2021
·
1 revision
Get Odoo Version Data. This request is ideal for testing the connection to the server.
POST /odoo-api/common/version
None
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)
this.http.post<any>('http://localhost:8069/odoo-api/common/version',
{params: {}}).subscribe(data => {
console.log(data.result);
});