snapshot before merge
This commit is contained in:
1 parent
2b3b2850f9
commit
21fc65b3ae
145 files changed
+9786
-59
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import urllib.request, urllib.error
|
||||
try:
|
||||
r = urllib.request.urlopen('http://localhost:8016/api/posts', timeout=5)
|
||||
print('STATUS:', r.status)
|
||||
print(r.read().decode()[:500])
|
||||
except urllib.error.HTTPError as e:
|
||||
print('ERROR STATUS:', e.code)
|
||||
print(e.read().decode()[:500])
|
||||
Reference in new issue
Block a user