pip install simplejson
python
import simplejson as json
import requests
python
params = {'param1': 'value1', 'param2': 'value2'}
python
response = requests.get(url, params=params)
python
data = json.loads(response.text)
python
print(data)
python
headers = {'Authorization': 'Bearer your_api_token'}
response = requests.get(url, headers=headers)
python
data = {'param1': 'value1', 'param2': 'value2'}
response = requests.post(url, data=data)
python
response = requests.get(url)