Re: [EXTERNAL] Re: Mixing sql and service program in IWS...

Kelly Cookson <KCookson-EAwJ3jYHSpVWk0Htik3J/[email protected]>
Newsgroups gmane.comp.systems.as400.web
Message-ID <SN6PR02MB4157F9C948F5851242AD2A85AAE10@SN6PR02MB4157.namprd02.prod.outlook.com>
Thanks Nadir. That answered my question. 

It seems like I have two options.

Option A: If I choose *not* to give each procedure a unique "URI path template for method," then I need to make sure that each procedure uses a different "HTTP request method." Only one procedure receives a GET request. Only one procedure receives a POST request, and so forth. The max number of procedures would be four (i.e., the number of drop down options for the "HTTP request method" box).

Option B: If I choose to give each procedure a unique "URI path template for method," then I can have each of the procedures use whatever "HTTP request method" that I want to assign them. I might have three procedures that all receive GET requests as long as each of the three procedures has a unique "URI path template for method" assigned. The max number of procedures is limited by considerations other than the number of drop down options for the "HTTP request method" box. 

This is useful to know. There may be situations where I may not have a choice of which option to use. Good to know I can do both.

Thanks,

Kelly Cookson
Senior Software Engineer II
Dot Foods, Inc.
1-217-773-4486  ext. 12676
www.dotfoods.com 


-----Original Message-----
From: WEB400 <[email protected]> On Behalf Of Nadir Amra
Sent: Tuesday, November 17, 2020 10:33 PM
To: Web Enabling the IBM i (AS/400 and iSeries) <[email protected]>
Subject: [EXTERNAL] Re: [WEB400] Mixing sql and service program in IWS...

Kelly, that is a user beware scenario.  The server will just choose one. 

-- 
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.