Answers for "requests python check status 200"

0

check if response is 200 python

if resp.status_code == 200:
    print ('OK!')
else:
    print ('Boo!')
Posted by: Guest on January-17-2021

Python Answers by Framework

Browse Popular Code Answers by Language