Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to pass header in requests

import requests
r=requests.get("http://www.example.com/", headers={"content-type":"text"})
 
PREVIOUS NEXT
Tagged: #pass #header #requests
ADD COMMENT
Topic
Name
2+2 =