You're looking at using it as a proxy.

GETURI or HTTPAPI will act as the in between. I do it for a few customers
myself.

Customer ---> your web server ---> GETURI ----> web serverice

and then back.


Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #10 <https://www.bvstools.com/mailtool.html>: Resend
Emails - When emails are sent using MAILTOOL Plus or another addon, those
emails are logged and you have the ability to resend them one by one, or as
a batch (ie, all unsent emails at once).

On Wed, Jan 31, 2018 at 12:28 PM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
wrote:

I have an existing RPGLE/CGI app where the client needs to call a separate
webservice. For security reasons, the client can't call the webservice
directly. So I want my RPGLE code to act as the go-between. What's the
most efficient way for RPGLE/CGI to call a webservice and return the
response verbatim to its client? I've used HTTPAPI in cases where RPGLE is
the final consumer, but I'm not sure if there's a better way in this
situation.

TIA


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.