Skip to content

Commit 66a6b11

Browse files
committed
requests/example_quote: Update example for fetching using requests.
This is a working alternative to PR micropython#919 closes: micropython#919 Signed-off-by: Jos Verlinde <Jos_Verlinde@hotmail.com>
1 parent 9788109 commit 66a6b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-ecosys/requests/example_xively.py renamed to python-ecosys/requests/example_quote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import requests
22

3-
r = requests.get("http://api.xively.com/")
3+
r = requests.get("https://dummyjson.com/quotes/1")
44
print(r)
55
print(r.content)
66
print(r.text)

0 commit comments

Comments
 (0)