Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
4345 Lượt xem

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.


Ảnh đại diện
Huỷ bỏ

You may refer any payment gateway integration in Odoo.

Tác giả

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

Tác giả

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?

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 5 25
33624
1
thg 9 23
2188
2
thg 11 22
6102
1
thg 6 22
8128
1
thg 9 21
3039