This commit is contained in:
spla 2024-01-04 19:09:57 +01:00
pare e3fa9829d3
commit a8e699622a

Veure arxiu

@ -30,7 +30,7 @@ if __name__ == '__main__':
}
params = dict()
params['token'] = 'token_here'
params['token'] = ''
formatted_params = urlencode(params)
endpoint = api_base_url + '/api/v1/repos/{0}/{1}/contents/{2}?{3}'.format(owner, repo, filename, formatted_params)
@ -43,5 +43,9 @@ if __name__ == '__main__':
pass
if response is not None:
print(f'request status code: {response.status_code},\n\n{response.content}')