Closed ivy-dong closed 6 years ago
We added "ClientErrMsg" field into dictionary that function rest.api.api.require_ok
returned, you can use it to find if response body is cipher or not, when resp body is not cipher or decrypt_and_verify function raises Exception, the content will be the response body; when body is empty, the content will be a self-defined error message. If response body is successfully decrypted, the content will be "".
when I got "404 page not found" from server. then py-common shows me error:
ValueError: Extra data: line 1 column 5 - line 1 column 19 (char 4 - 18)
(ex: query qoe with wallet-sdk-py, the url may
v1/poe/:
, I will get "404 page not found" from server. )see rest/api/api.py
Traceback (most recent call last):