2回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
I did find this stackoverflow link that deals with a REST api issue someone had. Could this be the issue you're having, too?
They didn't use the S3ObjectInputStream. They used InputStream instead and that caused their problem.
https://stackoverflow.com/questions/50043662/s3-download-pdf-rest-api
回答済み 2年前
0
Hi All, this issue is still unresolved, after many hours of painful research and trying different things.
Does anyone have a CORS policy that allows pdf files to be previewed or downloaded from S3 on a web page?
Thanks
回答済み 2年前
thanks jschwar313, i'm just using a basic HTML embed method <iframe src="[S3 URL of pdf]" height="100%" width="100%"></iframe> but no luck...