Page 1 of 1

XPRIM_HttpRequest - limitations of using AddFile on IBM i.

Posted: Fri Dec 22, 2017 12:15 pm
by soa
The documentation says that you cannot use AddFile or binary data on iseries. Sureely this only requires that the data be converted to base 64 before being added. This can be accomplished using Integrator or within rdmlx using the new file object (forget the name) introduced in a recent epc. Any reason why this wouldn't work?

Re: XPRIM_HttpRequest - limitations of using AddFile on IBM i.

Posted: Fri Dec 22, 2017 2:06 pm
by tsupartono
You can convert the data manually to Base-64 string (e.g. using XPRIM_Binary) and use AddString (or include it as part of a JSON object), as long as your server code handles the decoding.

Re: XPRIM_HttpRequest - limitations of using AddFile on IBM i.

Posted: Sun Dec 24, 2017 2:12 pm
by atostaine