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



Hello Booth

It all depends upon the requirement . Some people like in query string(
followed by ?) or some like Path Parm ( / ).
Query string - www.iseries.com?parm1=value&parm2=value&parm3=value

Path parm -www.iseries.com/parm1/value/parm2/value/parm3/value


Uri path template is very useful in service programs where you have
multiple procedures and depending upon input parameter it should pick the
specific procedure automatically.

Hope it makes sense

Thanks
Anshul

On Sun, Aug 11, 2019 at 1:46 AM Booth Martin <booth@xxxxxxxxxxxx> wrote:

What is the proper way to write a web service URL with more than one
input parameter?

I was thinking: http://series i/api/nameOfService/parm1,parm2,parm3,parm4

Follow-on question: In the IWS interview - this apparently isn't correct.

URI path template: e.g. /temperature,
/temperature/{temp:\d+}

--
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://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.

--

Thank You

Anshul Narang
715-921-4968

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.