python get element of request header code example
Example 1: get request python
import requests
x = requests.get('https://w3schools.com')
print(x.status_code)
Example 2: python send get request with headers
r=requests.get("http://www.example.com/", headers={"content-type":"text"})