Se rendre au contenu
Menu
Cette question a été signalée
@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
Ignorer
Publications associées Réponses Vues Activité
0
janv. 23
2496
2
sept. 20
12240
2
août 25
2680
2
juin 25
1152
3
juil. 24
3899