healthchecks/templates/front/snippets/python_urllib2.txt

4 lines
60 B
Plaintext

# using urllib2:
import urllib2
urllib2.urlopen("PING_URL")