# Codecademy Sample Solution
import requests
query_params = { 'apikey': '24115b5bd3d34ed28fc03a8c53eed18c',
'phrase': 'fiscal cliff'
}
endpoint = 'http://capitolwords.org/api/text.json'
response = requests.get(endpoint, params=query_params)
#request_url ?
request_url = response.url
print request_url
No comments:
Post a Comment