Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

response.json results in pretty data python

import requests
import json
r = requests.get('http://server.com/api/2/....')
pretty_json = json.loads(r.text)
print (json.dumps(pretty_json, indent=2))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #results #pretty #data #python
ADD COMMENT
Topic
Name
1+7 =