Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python request response json format

# import requests module
import requests
 
# Making a get request
response = requests.get('https://api.github.com')
 
# print response
print(response)
 
# print json content
print(response.json())
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #python #request #response #json #format
ADD COMMENT
Topic
Name
2+7 =