Answers for "python requests set content-type"

1

content in requests

#response.content – Python requests
import requests
  
# Making a get request
response = requests.get('https://api.github.com')
  
# prinitng request content
print(response.content)
Posted by: Guest on April-09-2021

Python Answers by Framework

Browse Popular Code Answers by Language