How to Post a File from Dataset

We are collecting a image (png) and document (PDF) from the user which is being stored in a dataset. We need to then push that data from the dataset to our product (our own web portal). What is the best way to accomplish this task? We were attempting to use the ‘form-data’ functions but the header and some errors were being generated.

We appreciate the assistance.