Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4 Risposte
4446 Visualizzazioni

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.


Avatar
Abbandona

You may refer any payment gateway integration in Odoo.

Autore

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

Autore

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?

Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
5
mag 25
33854
1
set 23
2312
2
nov 22
6227
1
giu 22
8229
1
set 21
3165