跳至内容
菜单
此问题已终结
2233 查看
@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
2252
2
9月 20
11804
1
6月 25
2256
2
6月 25
581
3
6月 24
3409