跳至内容
菜单
此问题已终结
2462 查看
@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
2462
2
9月 20
12198
2
8月 25
2653
2
6月 25
1101
3
7月 24
3855