Код: Выделить всё
headers = {
'Authorization': f'Bearer {access_token}',
'Content-Type': 'application/json'
}
works_query=[{"writerFirstName": "John", "writerLastName": "Doe"}]
get_works_url = 'https://public-api.themlc.com/search/songcode'
response = requests.post(get_works_url, headers=headers, json=works_query)
Я хотел бы получить помощь по доработке кода.
Подробнее здесь: https://stackoverflow.com/questions/793 ... -in-python
Мобильная версия