Hey all, having issues accessing resources with pythons request library. Could you tell me what I am doing wrong? All im getting are 401 status codes.
key = 'V0NtegKtBvgJlYZben-yVvWAl1ce5U9u7oG0FLGv'
keyEncoded = base64.b64encode(key)+':'
test = requests.get('https://api.companieshouse.gov.uk/company/00000006', headers={'Authorization':keyEncoded})
Thank you very much!