from odoo.http import Response, Controller
class Example(Controller):
@http.route("/example/", methods=["POST"], type="json", auth="public", csrf=False)
def example(self):
return Response("Testing 403", status=403)
Above code seems to return code 200, how can I specify return code?