Ir al contenido
Menú
Se marcó esta pregunta
2223 Vistas
@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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ene 23
2246
2
sept 20
11798
1
jun 25
2241
2
jun 25
572
3
jun 24
3385