跳至內容
選單
此問題已被標幟
4 回覆
4355 瀏覽次數

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
5月 25
33647
1
9月 23
2201
2
11月 22
6119
1
6月 22
8136
1
9月 21
3039