تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4 الردود
4170 أدوات العرض

I wanted to post data from my odoo to API belonging to other company. I have to send data in JSON format.

I have searched everywhere, from outside we can easily access Odoo API using either XMLRPC or JSONRPC but there is no any method to post data from odoo to outside API. 

Does anyone know how to send data? Help me with some sample code. I also wanted to know how odoo handle web services. 

I have tried to post data using requests module I don't know whether it works or not.


الصورة الرمزية
إهمال

You may refer any payment gateway integration in Odoo.

الكاتب

Where can I find it any Idea, and how can it be helpful? Does this integration post data to outside API?

الكاتب

Do you have any sample code from where I can connect to API and post data using Odoo? How can I achieve it from Odoo?

أفضل إجابة

Hi

For posting into an outside application, you need the API guidelines of that application.

It is not related to Odoo. If they providing API, you can make a request for the post either from python or js in the Odoo.


Thanks

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
5
مايو 25
32970
1
سبتمبر 23
1952
2
نوفمبر 22
5744
1
يونيو 22
7893
1
سبتمبر 21
2788