Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
4491 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
5
พ.ค. 25
34040
1
ก.ย. 23
2399
Create Journal Entries whit code แก้ไขแล้ว
2
ส.ค. 25
6384
1
มิ.ย. 22
8352
1
ก.ย. 21
3237