Forum Discussion
DougHenning1
4 years agoQuickbase Staff
Is the file you're downloading JSON? If not then you'll get an error with those JSON commands. You can access the body of the response with "r.content" or "r.text" depending on the file type.
r = requests.get(
request_str,
headers = headers
)
print(r.content)
------------------------------
Doug Henning
------------------------------
r = requests.get(
request_str,
headers = headers
)
print(r.content)
------------------------------
Doug Henning
------------------------------
DFDK
4 years agoQrew Member