almost 8 years ago
If the create method is successful, the value associated to the request key will be a dictionary containing various information about the created request:
1-id: the request id
2-key: your private key for this request
For example code is like below.
from urllib import urlencode
from io import BytesIO
CREATE_URL = "https://upgrade.odoo.com/database/v1/create"
CONTRACT = "M123456-abcdef"
AIM = "test"
TARGET = "8.0"
EMAIL = "firstname.lastname@example.org"
FILENAME = "db_name.dump"
fields = dict([
postfields = urlencode(fields)
c = pycurl.Curl()
data = BytesIO()
# transform output into a dict:
response = json.loads(data.getvalue())
# get http status:
http_code = c.getinfo(pycurl.HTTP_CODE)
Note-Above values will be requested by the other methods (upload, process and status)
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Terms of Service
| © copyright 2023 FindNerd.com. All rights reserved.
Sign up using