import requests
url = "https://jsonplaceholder.typicode.com/todos/1"
res = requests.get(url, headers = {
	"Accept": "application/json"
})

print(f"your request to {url} come back w/ status code {res.status_code}")

text = res.text
data = res.json()
print(type(text))
print(type(data))
print(text)
print(data)

6d135d7514da2b974211b72f17006f6223cbe3ab
<mask token>

<mask token>
print(f'your request to {url} come back w/ status code {res.status_code}')
<mask token>
print(type(text))
print(type(data))
print(text)
print(data)

<mask token>
url = 'https://jsonplaceholder.typicode.com/todos/1'
res = requests.get(url, headers={'Accept': 'application/json'})
print(f'your request to {url} come back w/ status code {res.status_code}')
text = res.text
data = res.json()
print(type(text))
print(type(data))
print(text)
print(data)

import requests
url = 'https://jsonplaceholder.typicode.com/todos/1'
res = requests.get(url, headers={'Accept': 'application/json'})
print(f'your request to {url} come back w/ status code {res.status_code}')
text = res.text
data = res.json()
print(type(text))
print(type(data))
print(text)
print(data)

import requests
url = "https://jsonplaceholder.typicode.com/todos/1"
res = requests.get(url, headers = {
	"Accept": "application/json"
})

print(f"your request to {url} come back w/ status code {res.status_code}")

text = res.text
data = res.json()
print(type(text))
print(type(data))
print(text)
print(data)
