Hey,
we're trying to implement the Python code found in the Qlik Community knowledge base that uses requests.get to call API endpoints.
Please see code here - option 1: https://community.qlik.com/t5/Knowledge/Call-the-Qlik-Sense-QRS-API-with-Python/ta-p/1715877
The line that decodes the json response data failes. See "for app in resp.json():"
The error is: JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The data being returned is encoded in ISO-8859-1. It probably needs to be UTF-8. Also, dumping the contents results in html, not json.
Has anyone solved this?
Thanks