× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



As far as what URIs should look like, see page 36 of IWS server admin and
programming guide[1], heading entitled: "REST Primer". It has sections
about URIs and the user of HTTP methods.


[1] http://www.ibm.com/support/docview.wss?uid=isg3T1026868

"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 08/11/2019 07:24:33
PM:

From: Booth Martin <booth@xxxxxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
<web400@xxxxxxxxxxxxxxxxxx>
Date: 08/11/2019 07:24 PM
Subject: [EXTERNAL] Re: [WEB400] IWS - how to specify more than one
input parameter
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>

I believe I am interested in Post. Simply put, I wish to write a row in

a DB/2 file with SQLRPGLE using these 4 parameter fields: program name,
section of that program, user name, and a log statement of incidental
information.

The url will be prepared and submitted by a JavaScript file in the ifs.

The JavaScript file will be referenced by an .html file the ifs.

I am thinking I could do this with a data structure and a single parm
but I am also thinking that that is probably bad practice; that maybe I

should figure out how the rest of the world does it.

On 8/11/2019 6:01 PM, anshul narang wrote:
I believe yes. What kind of method you are using? Post/Get/Put/Delete?
Are
these fields are independent fields or they are part of single input
datastructure?

You dont need uri path template for these i believe. Please share the
code
. I can help you with that:)

Thanks
Anshul
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?

u=https-3A__lists.midrange.com_mailman_listinfo_web400&d=DwIGaQ&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-

ew&m=V1fRONQGWwOqm0VJaE6Czo6RCO3BDhEjkQzgVxOPklM&s=YnGSNzqJb3pa3jJKOouNks3Z5Y86CBrXK30hVsDVJ3k&e=
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://urldefense.proofpoint.com/v2/url?
u=https-3A__archive.midrange.com_web400&d=DwIGaQ&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-

ew&m=V1fRONQGWwOqm0VJaE6Czo6RCO3BDhEjkQzgVxOPklM&s=U1_snMlAfrS_3ZnaGWb7EfDM0TY29-4qWqlk_44FPvk&e=
.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.