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.
Someone with a different user name has reported the same kind of problem here in the thread below. Coincidentally this seems to be exactly the same link…
https://forum.aws.chdev.org/t/cannot-view-pdf-properly-in-filing-history-document-metadata/4173
How you deal with PDFs is up to you and nothing to do with Companies House!
In the future the following - although it is rather general - might be worth reading to help get the best results when you ask questions on internet forums: