Ir al contenido
Menú
Se marcó esta pregunta
2368 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
2342
2
sept 20
11981
2
ago 25
2455
2
jun 25
845
3
jun 24
3631