@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"}}
@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"}}
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
|
0
led 23
|
3936 | |||
|
2
zář 20
|
14228 | |||
|
2
srp 25
|
5411 | |||
|
Controller not working
Vyřešeno
|
2
čvn 25
|
3650 | ||
|
3
čvn 24
|
6054 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.