May-22-2019, 01:23 PM
use this code
e.g. without u in front of the keys
response = requests.get('http://xx:8080/maintenance/job?jobType=IMPORT&resultLimit=30') if resposnse.ok: data = response.json() with open('data.json', 'w') as f: json.dump(data, f, indent=4)to save the json response to file, nicely formatted
e.g. without u in front of the keys
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs