Hello guys;
I am trying to build rest api from controllers I started to test in post man but it gives me 404 error ,but it works in browers here is my sample code:
from odoo import http
class frfr(http.Controller):
@http.route('/hello/',auth='public',type='json',csrf=False,method=['GET'])
def hello(self, **kwargs):
return "hello world"