Since [1] an error was thrown when giving multiple files to http.post. This commit reverts changes in the function but the function now also allows to give a FormData instead of pojo. [1]: https://github.com/odoo/odoo/pull/136271 closes odoo/odoo#137421 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>