i tested it using postman and it doesn't work
test_controller.py:
from odoo import http
from odoo.http import request, Response
import json
class TestController(http.Controller):
@http.route("/test", auth='public', type='jsonrpc', csrf=False, method='GET')
def get_test(self, **kw):
print("Test")
response = {'message': "Test Test 123"}
return Response(json.dumps(response), content_type='application/json')
__init__.py:
from . import test_controller
both files are in a folder called controllers