跳至内容
菜单
此问题已终结
2671 查看
@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
2694
2
9月 20
12514
2
8月 25
2949
2
6月 25
1455
3
6月 24
4231