Re: IWS, REST APIs, and Logging

Don Brown via WEB400 <[email protected]>
Newsgroups gmane.comp.systems.as400.web
Message-ID <OF03DFBDE6.8F6E3AE3-ON4A2586C4.007E5411-4A2586C4.007E61C9@msd.net.au>
I would also be interested is seeing your solution.

Thanks

Don






From:   "Jon Paris" <[email protected]>
To:     "Web Enabling the IBM i (AS/400 and iSeries)" 
<[email protected]>
Date:   28/04/2021 03:04 AM
Subject:        Re: [WEB400] IWS, REST APIs, and Logging
Sent by:        "WEB400" <[email protected]>



I'd be interested in seeing a copy Jay.

All of our production stuff in this area is fed from our PHP side - so we 
used that for interfacing with the CC gateway etc. But I always like to 
have extra arrows in the quiver!


Jon Paris


> On Apr 27, 2021, at 12:08 PM, Jay Vaughn <[email protected]> 
wrote:
> 
> Agree with Jon. 
> I wanted the flexibility of consuming a request body (json) so developed 
my own small framework that easily does this. Recently implemented at a 
Fortune 500 company to handle cc payments between to IBM i and a cc 
payment company. 
> Not a vendor pitch because I’m not selling it. 
> However I’d be happy to offer you a download of it Stephen. 
> 
> Jay
> 
>> On Apr 27, 2021, at 12:02 PM, Jon Paris <[email protected]> 
wrote:
>> 
>> Well it kinda goes against the whole point of IWS which is to avoid 
you having to concern your self with such issues.  The payload is unpacked 
into the parameters and vice-versa for you.
>> 
>> If you really need to access the body why use IWS at all?
>> 
>> 
>> 
>> Jon Paris
>> 
>>> On Apr 27, 2021, at 11:23 AM, Stephen Piland 
<[email protected]> wrote:
>>> 
>>> I haven't seen any way to do this so far, but I thought I'd ask the 
group...
>>> 
>>> Is there any way to capture the 'payload'/body sent in?  Ideally, 
pre-execution of the program or service program call from within IWS.  If 
not, is there a way to capture it in the called pgm perhaps as a BLOB that 
could be stored?
>>> 
>>> 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.





--
This email has been scanned for computer viruses. Although MSD has taken reasonable precautions to ensure no viruses are present in this email, MSD cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
-- 
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.