Add missing call on response.json

This commit is contained in:
oyvindjam
2017-09-05 12:29:55 +02:00
committed by GitHub
parent e28ae40b94
commit cca3c73d93
+1 -1
View File
@@ -155,7 +155,7 @@ use it:
response = requests.get('https://httpbin.org/ip')
print('Your IP is {0}'.format(response.json['origin']))
print('Your IP is {0}'.format(response.json()['origin']))
Then you can run this script using ``pipenv run``: