diff --git a/README.md b/README.md index ac12927..d7c4daf 100644 --- a/README.md +++ b/README.md @@ -1542,7 +1542,8 @@ def odds_handler(sport): ```python # $ pip3 install requests >>> import requests ->>> r = requests.post('http://localhost:8080/odds/soccer', data={'team': 'arsenal f.c.'}) +>>> url = 'http://localhost:8080/odds/soccer' +>>> r = requests.post(url, data={'team': 'arsenal f.c.'}) >>> r.json() ['arsenal f.c.', 2.44, 3.29] ```