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.
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
How do I get Product Prices with json API?
Diselesaikan
|
1
Nov 25
|
2885 | ||
|
1
Agu 25
|
1397 | |||
|
2
Jul 25
|
4708 | |||
|
API xmlrpc - upload pdf bills to account
Diselesaikan
|
3
Jul 25
|
1873 | ||
|
1
Jun 25
|
3721 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
It return cloudflare for me in server key for odoo sh url.
Hi,
It did not work. It did not return server in reponse.