i am reading view section in the documentation. https://www.odoo.com/documentation/14.0/developer/reference/views.html
i found view
class MyController(odoo.http.Controller):
@http.route('/module_name/hello', auth='user', type='json')
def hello(self):
return {
'html': """
rel="stylesheet">
hello, world
}
what is the use of this code ?