from odoo.http import request, Controller from odoo import http, _ class Website(Controller): @http.route('/content', auth='public') def content(self, **kw): url = kw.get('url', '') iframe = f"" style = ''' ''' script = ''' ''' content = '' + '' + iframe + style + script + '' + '' return request.make_response(content, [('Access-Control-Allow-Origin', '*'), ('Access-Control-Allow-Headers', '*')])