How do I preview a Pdf fike via a presigned S3 URL in React?

1 week ago 5
ARTICLE AD BOX

I have an api which is responsible for download the file of any mime type if its available in the s3 bucket now in the response it draws a presigned url, hmacsignature, urlbucket name, etc.

Now I want to use that presigned url to create an react preview popup to display the pdf without downloading it.

My backend code is in Golang.

Read Entire Article