[Progress Communities] [Progress OpenEdge ABL] Forum Post: Sending PDF to REST service

Status
Not open for further replies.
G

goo

Guest
12.0 I am going to make a new Endpoint that retrives a pdf document from the database using an appserver call. 1. What would be prefered way of sending a pdf file from AppServer to my Pasoe webserver? yes- we have splitt db from pasoe. I have seeen some using: * run copyfile.p on server (output mFileCopy)....... * using a temp-table with blob/clob record Is there a commen way in 12 to do this? 2. Is there something I need to think of when using oResponse and oBody when sending PDF? Whould it be ok doing: Assign oResponse = new OpenEdge.Web.WebResponse() oResponse:StatusCode = int(StatusCodeEnum:OK) . and use something like Progress KB - How to send a binary file with the HTTP client as part of a MIME message passing the PDF? Would I need to send it binary? //Geir Otto

Continue reading...
 
Status
Not open for further replies.
Top