Community mailing list archives

community@mail.odoo.com

Public URL

by
Torvald Baade Bringsvor, Torvald B. Bringsvor
- 12/19/2014 06:28:18
Hi

I have a web controller that is supposed to be called by an external script using curl.

I have set auth='public' in the @http.route decorator, but it doesn't quite work. The reason is of course that you have to select database, which forces you to log in anyway. And adding ?db=database doesn't work.

Is there any way to solve this, or do I have to make an external script that logs in and acts as a proxy for the curl script?

-Torvald



Torvald Baade Bringsvor
Bringsvor Consulting AS - Odoo (formerly OpenERP) implementation partner