No, all you need is an Apache HTTP server configured to allow access to
your program (using ScriptAlias most likely). Just like you would for a
Then you build your json and spit it out to StdOut with YAJL like I've
mentioned a few times already.
Bradley V. Stone
MAILTOOL Benefit #22 <https://www.bvstools.com/mailtool.html>: Cost
starting at under $300 a year per partition!
On Wed, Aug 29, 2018 at 3:09 PM Booth Martin <booth@xxxxxxxxxxxx> wrote:
In debug, my SQLRPGLE program has this row:
QtmhWrStout( bigCharVar : length: err );
and bigCharVar has the correct data.
My understanding at the moment is that I need a web service server with
a named & deployed rest service. That server needs to be assigned a
port and has to be running. Then, if I point any modern browser at that
port + /name-of-deployed-service, I should get the raw JSON data showing
on my screen?
This is all with Scott's YAJL
On 8/28/2018 10:37 AM, Bradley Stone wrote:
yajl_writeStdout(): Copy YAJL generator buffer to Apache via
stdout (with headers)
This should be all you need. If you want to debug the JSON it's making,
you can write it out to the IFS as well.
Don't try to make it too difficult.
Bradley V. Stone
MAILTOOL Benefit #12<https://www.bvstools.com/mailtool.html>: Both Text
and HTML email support
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
Please contact support@xxxxxxxxxxxx for any subscription related
Help support midrange.com by shopping at amazon.com with our affiliate