Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2493 Zobrazení
@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"}}

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
led 23
2493
2
zář 20
12237
2
srp 25
2674
2
čvn 25
1142
3
čvc 24
3887