Re: YAJL JSON data - how and when to save?
Jon Paris <[email protected]>
| Newsgroups | gmane.comp.systems.as400.web |
|---|---|
| Message-ID | <[email protected]> |
HTTPAPI does all the heavy lifting when consuming web services. Brad's GETURI does a similar job. Generally much easier to use a tool built for the job than rolling your own. Jon > On Jan 11, 2022, at 1:02 PM, Dave <[email protected]> wrote: > > Thanks Jon, I should have known about this before starting. I use YAJL and > QTMHGETENV. I'm not sure what HTTPAPI would have given me but I'll need to > find the time to read about it. > > On Tue, 11 Jan 2022 at 00:22, Jon Paris <[email protected]> wrote: > >> Well I use Scott's HTTPAPI and the on/off capability provided by logging >> gives me the data and the rest of the info I need. >> >> >> >>> On Jan 10, 2022, at 5:40 PM, Dave <[email protected]> wrote: >>> >>> Hi, >>> >>> >>> >>> At the moment, during testing, each time my CGI programme receives JSON >>> data, I'm saving it to the IFS. >>> >>> >>> As I won't need to keep the JSON data once the application is deployed, >> what >>> would be the best way to dynamically turn on and off the save function of >>> the program in case it were needed? Seems to me there are many ways of >>> doing it. I could configure an environment variable, an URL, change a >> data >>> area, etc. What do you people do ? >>> >>> >>> >>> >>> Thanks ! >>> -- >>> This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing >> list >>> To post a message email: [email protected] >>> To subscribe, unsubscribe, or change list options, >>> visit: https://lists.midrange.com/mailman/listinfo/web400 >>> or email: [email protected] >>> Before posting, please take a moment to review the archives >>> at https://archive.midrange.com/web400. >>> >> >> -- >> This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing >> list >> To post a message email: [email protected] >> To subscribe, unsubscribe, or change list options, >> visit: https://lists.midrange.com/mailman/listinfo/web400 >> or email: [email protected] >> Before posting, please take a moment to review the archives >> at https://archive.midrange.com/web400. >> >> >> > -- > This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list > To post a message email: [email protected] > To subscribe, unsubscribe, or change list options, > visit: https://lists.midrange.com/mailman/listinfo/web400 > or email: [email protected] > Before posting, please take a moment to review the archives > at https://archive.midrange.com/web400. > -- This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/web400 or email: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/web400.