Answers for "python get response from url"

0

python get response from url

import requests
r = requests.get("https://google.com")
print(r.status_code)
#100- 199 Informational
#200-299 Succes
#300-399 Redirection
#400-499 CLIENT ERROR 
#500-599 SERVER ERROR
Posted by: Guest on October-09-2021

Code answers related to "python get response from url"

Python Answers by Framework

Browse Popular Code Answers by Language