コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2264 ビュー
@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
2277
2
9月 20
11866
1
6月 25
2280
2
6月 25
628
3
6月 24
3450