@Eunice Jane Liwa - I know eXtendTech released pure API support for eXtendFiles and is currently supported with AWS S3 storage and Azure releases shortly.
Regarding your n/https approach, you can not get access to file in binary form with that method. That won't work unless your content is always text.