Re: YAJL JSON data - how and when to save?
Jon Paris <[email protected]>
| Newsgroups | gmane.comp.systems.as400.web |
|---|---|
| Message-ID | <[email protected]> |
OK - so your program is acting as the web service and receiving json requests. In that case HTTPAPI would not come into play as it is for _consumming_ services such was the one you are providing. Scott's earlier comments about using environment variables and using them to turn on/off the logging of the json is probably the best approach. Jon Paris > On Jan 13, 2022, at 12:45 PM, Dave <[email protected]> wrote: > > I'm a bit confused, I'm sure I'm missing out on something but it's a bit > late to change now. By CGI program, I meant the program that is called when > the corresponding URL is used. > > On Wed, 12 Jan 2022 at 01:58, Scott Klement <[email protected]> wrote: > >> Unless I'm confused, he is providing the API... Notice he says >> "CGI". So, HTTPAPI is not relevant, here. >> >> Though, I appreciate the kind words :-) >> >> On 1/10/2022 5:22 PM, Jon Paris 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: >>>> >>>> >>>> >>>> At the moment, during testing, each time my CGI programme receives JSON >>>> data, I'm saving it to the IFS. >>>> >>>> >> -- >> 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.