Ir al contenido
Menú
Se marcó esta pregunta
2192 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
2227
2
sept 20
11758
1
jun 25
2199
2
jun 25
509
3
jun 24
3359