how tou use rest function to get a pdf file from minio ???

how in mendix to get a pdf file (download) from minIO ??? i try using s3 but its not working it cant even processed the credentials so i used the rest function from mendix it indeed can retrieve the file but its in html (minio console) type not pdf i try to convert the html file but its keep crashing i even try to convert it anywhere outside of mendix its just cant be converted ??? please help
1 answers

Maybe you should look into the supported options from the minIO side?

I found this potential solution