| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 3824 |
| Technical Name |
api_request_handler |
| License | AGPL-3 |
| Website | https://github.com/tawasta/server-tools |
API Request Handler
Base module for handling API/HTTP requests. Uses httpx library for making the requests
Configuration
-
Usage
This module provides a mixin class ApiRequestMixin that can be inherited by any Odoo model to enable API request handling capabilities. The mixin includes a method _api_request_make that allows you to make HTTP requests to external APIs.
The _api_request_make is called in the same way as httpx.request method, but it will also log the request and response details in the api.request model.
Known issues / Roadmap
-
Credits
Contributors
- Jarmo Kortetjärvi <jarmo.kortetjarvi@futural.fi>
Maintainer
This module is maintained by Futural Oy
Please log in to comment on this module