Skip to content

Commit d1ad8f5

Browse files
committed
Web
1 parent 79b54d8 commit d1ad8f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,8 @@ def odds_handler(sport):
15421542
```python
15431543
# $ pip3 install requests
15441544
>>> import requests
1545-
>>> r = requests.post('http://localhost:8080/odds/soccer', data={'team': 'arsenal f.c.'})
1545+
>>> url = 'http://localhost:8080/odds/soccer'
1546+
>>> r = requests.post(url, data={'team': 'arsenal f.c.'})
15461547
>>> r.json()
15471548
['arsenal f.c.', 2.44, 3.29]
15481549
```

0 commit comments

Comments
 (0)