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



Hi Brad,

| Thanks for the plug!

You deserve it!

Yes, the string handling has greatly improved. I remember redefining strings as arrays, so I could traverse the characters. Brrr!

Joep Beckeringh

Op 14-10-2021 om 15:26 schreef Brad Stone:
Hi, Joep.

Thanks for the plug! The book is still a little worthwhile, except for the
HTTP config stuff which was back when it was the CERN based HTTP server,
not Apache. :)

I also didn't cover parsing URLs as that wasn't a thing then for web
services (I still think it's a little cumbersome, and prefer good old
fashioned name/value pairs, but oh well! ).

I have done a few projects where I had to parse the URI. If they get very
verbose it can get a little cumbersome, though. But, with all the new
%bifs in RPG string parsing is getting quite simple! I no longer need my
big STRINGS service program to do most of it. :)

On Thu, Oct 14, 2021 at 8:22 AM Joep Beckeringh via WEB400 <
web400@xxxxxxxxxxxxxxxxxx> wrote:

Dave,

Do you know that (the always helpful) Brad wrote a few books about this
stuff, 25 years ago, when it was all new to us AS/400 folks and we had
to program it all ourselves?

https://www.bvstools.com/

https://www.amazon.com/RPG-Building-400-Web-Applications/dp/1583470085

Joep Beckeringh


Op 14-10-2021 om 14:27 schreef Brad Stone:
Yep, you'll need to parse the URI.

On Thu, Oct 14, 2021 at 2:24 AM Dave <dfx1@xxxxxxxxxxxxxx> wrote:

Hello,

Just checking, I don't see how this is possible: I'm getting the
variables
after the "?" from QUERY_STRING, but how about those in the actual URI ?

http://localhost:8080/shop/order/1001/receipts?date=12-05-2017

I presume it's up to my program to get order=1001 from the URI
--
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.


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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.