How to view Company Filing (PDF files) from S3 buckets?

curl --location --request GET ‘https://document-api.companieshouse.gov.uk/document/_rctN84HNP6eV6zQUDYOnMpK44_d1v_CbLIlwGDNgtg/content
–header ‘Authorization: Basic {api-key}’

It would be helpful if you actually asked a question…
but the data you receive back is actually the PDF file, so save it and then open it.

Also worth searching this forum before you post a ‘question’ as all the information you will ever need is here, but you do have to look for it.

i saved it as a pdf but preview of saving file not clear.