Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Requests Library Get Method

import requests
 
url = 'https://codegrepper.com/'
response = requests.get(url)
 
print('URL: ', response.url)
print('Status code: ', response.status_code)
print('HTTP header: ', response.headers)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Python #Requests #Library #Get #Method
ADD COMMENT
Topic
Name
4+9 =