No momento da requisição post estou obtendo response 404
import requests
access_token = *********
headers = {'Authorization': 'Bearer' + access_token,
'X-GitHub-Api-Version': '2022-11-28'}
api_base_url = 'https://api.github.com'
url = f'{api_base_url}/users/repos'
data = {
'name': 'linguagens utilizadas',
'description': 'repositorio com as linguagens de programacao da amazon',
'private': False
}
response = requests.post(url=url,json=data, headers=headers)
print(f'status: {response.status_code}, response: {response.json()}')
O print retorna o sequinte:
status: 404, response: {'message': 'Not Found', 'documentation_url': 'https://docs.github.com/rest'}