@http.route('/test_url/print_json', auth='public', type='json', cors="*", csrf=False)
def print_json(self, **post):
return {"msg":"ok"}
I expect to get JSON {"msg":"ok"}
but actually going to return {"jsonrpc":"2.0","id":null,"result":{"msg":"ok"}}
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
@http.route('/test_url/print_json', auth='public', type='json', cors="*", csrf=False)
def print_json(self, **post):
return {"msg":"ok"}
I expect to get JSON {"msg":"ok"}
but actually going to return {"jsonrpc":"2.0","id":null,"result":{"msg":"ok"}}
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
0
1월 23
|
2365 | ||
|
2
9월 20
|
12026 | ||
|
2
8월 25
|
2483 | ||
Controller not working
해결 완료
|
|
2
6월 25
|
881 | |
|
3
6월 24
|
3666 |