Hi,
I want to check from Odoo API( or any other way) whether My Odoo instance is hostes on Odoo sh or on-premises.
Is there any way to do this?
Thanks
Anju
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I want to check from Odoo API( or any other way) whether My Odoo instance is hostes on Odoo sh or on-premises.
Is there any way to do this?
Thanks
Anju
You can try using
import requests
url = "odoo_instance.com"
response = requests.get(url)
print(response.headers)
If the instance is hosted on Odoo.sh, the response headers usually contain:
'Server': 'Odoo.sh'
Other instances (like odoo.com SaaS or on-premise deployments) may have different headers that can help identify the hosting environment.
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
2
jul. 25
|
2710 | ||
API xmlrpc - upload pdf bills to account
Resolvido
|
|
3
jul. 25
|
539 | |
|
1
jun. 25
|
1982 | ||
|
1
jul. 25
|
955 | ||
Original project names via the API
Resolvido
|
|
1
abr. 25
|
1594 |
It return cloudflare for me in server key for odoo sh url.