|
From: B Stone <bvstone@xxxxxxxxx><midrange-l@xxxxxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion
Date: 07/28/2019 04:37 PMthe IFS
Subject: [EXTERNAL] Re: Saving INBOUND JSON (sent from the Web App) to
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>and
I do. I don't see how you wouldn't. I've done many projects with JSON
it's ALWAYS come in handy.<roberto.faq400@xxxxxxxxx>
I can't believe IBM doesn't think it would be (I assume for IWS).
On Sun, Jul 28, 2019 at 1:11 PM Roberto De Pedrini
wrote:service you
I'm with Bradley, if you save original inbound JSON to your web
butcould use it to re-run a call to it or as a log.
I asked IBM lab to have the inbound JSON as metadata in some kind of
environment variables when I deploy my post-rest web services with IWS
logging?they didn't consider it so important.
Does anybody need to see inbound json in RPG/Cobol for web service
ha
Roberto De Pedrini
Faq400 - Italy
Il giorno mer 24 lug 2019 alle ore 01:03 B Stone <bvstone@xxxxxxxxx>
camescritto:
It comes in VERY hand for debugging and logging what data actually
thein. I've used in at many clients and shared the new procedure with
soOP.
I didn't want to change anything in your code, and wanted to make is
so ifif
I install a newer version all I do is take mine and leave it at the
bottom.
So that's why I made it separate with the optional stream file parm
don'tdebug for the application is on, I supply the file name. If not, I
productionand it isn't created. If you add the option I'd use that instead ofmine.
Overwriting would be my choice. I always use unique IDs in
justfor
debugging/trace file names so overwriting isn't an issue. That's
in,me,
though.
I think in all it was an addition of maybe 6 lines of code.
I remember asking the OPs same question a few years ago and people
questioned why I would want that. If you can't see the data coming
ew&m=usb7JaJJtnMB9p4eb3pmGa8DSjbI5lbdnKnFv235svM&s=H_O2nnuQ6zFi_ZpapM6K3VZ4g_zu_dhv5hHNTx9yA6Y&e=howu=https-3A__www.bvstools.com_contact.html&d=DwICAg&c=jf_iaSHvJObTbx-
do you know if it was correct. Right? Or what if it's required to
log/store the data (as it is for a couple of my clients)?
It's a simple update that adds a lot of functionality.
Bradley V. Stone
www.bvstools.com
Need to interface with Braintree with your IBM i? Contact me
<https://urldefense.proofpoint.com/v2/url?
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-
append tofor more information!
midrange-l@xxxxxxxxxxxxxxxx
On Tue, Jul 23, 2019 at 5:17 PM Scott Klement <
wrote:
Bradley,program.
I assume this would only be desirable if reading input from stdin?
After all, in other cases, you already have the JSON data in your
It'd be easy enough to add this into YAJL, though I'd add it as an
optional parameter rather than create a new subprocedure.
What should happen if the file already exists? Replace it or
as ait? The former would be better if you plan to process it later
intendedjson document, but the latter would be better if this is just
use itas a "log" (informational) type file and you don't plan to ever
list--directly.
-SK
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxxu=https-3A__lists.midrange.com_mailman_listinfo_midrange-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-
To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-ew&m=usb7JaJJtnMB9p4eb3pmGa8DSjbI5lbdnKnFv235svM&s=sJ3bDYfv_XLessRtHajoPEGp-7Nk27fDLPKjJer6xtU&e=
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxxew&m=usb7JaJJtnMB9p4eb3pmGa8DSjbI5lbdnKnFv235svM&s=JCJ_rFTMP_Gs4xdiFLNXPrjeeMkuW6n2CgpdJ7ejBQY&e=
Before posting, please take a moment to review the archives
at https://urldefense.proofpoint.com/v2/url?
u=https-3A__archive.midrange.com_midrange-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-
.questions.
Please contact support@xxxxxxxxxxxx for any subscription related
link:
Help support midrange.com by shopping at amazon.com with our affiliate
https://urldefense.proofpoint.com/v2/url?ew&m=usb7JaJJtnMB9p4eb3pmGa8DSjbI5lbdnKnFv235svM&s=PTgYpeKRbNT_TNPGfkhc7qngU_5NI0g1GS9EiY5F-
u=https-3A__amazon.midrange.com&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-
cs&e=
As an Amazon Associate we earn from qualifying purchases.
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.