forked from GithubBackups/healthchecks
7 lines
143 B
Plaintext
7 lines
143 B
Plaintext
>>> # using urllib2:
|
|
>>> import urllib2
|
|
>>> urllib2.urlopen("PING_URL")
|
|
|
|
>>> # using requests:
|
|
>>> import requests
|
|
>>> requests.get("PING_URL") |