Yes, you should see the JSON in the browser. If it's unintelligible, the first thing to check would be your CCSID.
From: Booth Martin [mailto:booth@xxxxxxxxxxxx]
Sent: Wednesday, August 29, 2018 3:09 PM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxx>
Subject: Re: RPG & webservice
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 mailing list archive is Copyright 1997-2019 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