Skip to Content
Menu
This question has been flagged
1 Atsakyti
3679 Rodiniai

Hi, is there a way to return a standard json instead of a jsonrpc with http route of type json.

'{'field1': 'val', 'field2': 'val'}'

instead of

{'jsonrpc': '2.0', 'result': '<Response likely-streamed [200 OK]>', 'id': None}

I'm using an external api that handle only standard json as response

Portretas
Atmesti

did you find the answer ?

Related Posts Replies Rodiniai Veikla
2
bal. 22
21408
1
geg. 21
5446
2
geg. 23
11021
1
rugs. 20
6637
6
liep. 20
12149