Given the following URL: /route/?from=...?to=....
Could you please provide a code sample that demonstrates how to properly retrieve parameters from a query in an Odoo 16 controller?
class View(http.Controller):
@http.route('/smt', type='json', auth='public')
def ping(self, **kw):
print(kw) # kwargs is empty {}
return {'success': True}
did you already found what you were looking for?