Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if response is 200 python

if resp.status_code == 200:
    print ('OK!')
else:
    print ('Boo!')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #response #python
ADD COMMENT
Topic
Name
2+3 =