Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: About rest api

by
Acsone SA/NV, Denis Roussel
- 12/05/2020 11:42:22
Do you speak about base_rest module found there : https://github.com/OCA/rest-framework

It includes Swagger as an interface for testing your new rest services.

On Tue, May 12, 2020 at 11:31 AM Daniel Reis <dreis@opensourceintegrators.com> wrote:
Hello Achraf,

I understand you want to implement a REST Client in Odoo to use an external web service.

This sends you back to plain Python and is not Odoo specific.
So you should start creating your Python script to play with the API.
That will probably learning about the Requests library.

When you get that working, then you need to "plug" it in Odoo, adding the code triggering your API calls, such as a button method or a scheduler job.


Good luck
Daniel Reis


On 11/05/2020 21:37, EL IDRISSI Mohamed Achraf wrote:
Hello, 

I hope you are doing well.

I'm a developer and i want to use your app rest api the get a bi-direction web service (odoo and another system web service) and I'm stuck because i don't know how to use the web service client with odoo to sent (POST and GET) information and data from their system.

Please help me with a documentation or another app that can provides this service.

Thank you

ACHRAF

Best regards 

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe


_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe



--
__________________________________________
Denis Roussel
Software Engineer
Acsone SA, Succursale de Liège (Val Benoît)
Tel    : +32 2 888 31 49
Fax   : +32 2 888 31 59
Gsm : +32 472 22 00 57

Acsone sa/nv
Boulevard de la Woluwe 56 Woluwedal | B-1200 Brussels  | Belgium
Quai Banning, 6 (Val Benoît) | B-4000 Liège | Belgium
Zone Industrielle 22 | L-8287 Kehlen | Luxembourg

Reference