|
We use Brad's program to retrieve data from an ASP page that does queries over
an SQL server database.
We do this:
CHGVAR VAR(&URL) +
VALUE('http://192.1.1.186/docudb/as400sqlex+
ec.asp?sql=select+id+from+dpobjects+where+t+
itle+=+' *CAT &APOST *CAT &PRO *TCAT +
&APOST *CAT '+and+field1+=+' *CAT &APOST +
*CAT &BLDR *CAT &APOST)
GETURI URI(&URL) OUTPUT(*FILE) FILE(QTEMP/WEB)
_________________
Art Tostaine, Jr.
CCA, Inc.
Jackson, NJ 08527
> -----Original Message-----
> From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On
> Behalf Of Brad Stone
> Sent: Tuesday, September 25, 2001 7:01 PM
> To: rpg400-l@midrange.com
> Subject: Re: Doing a HTTP Post from rpg program
>
>
> Not true, Joep.
>
> Many applications require that you capture the data from a
> web page, and this can only be done with a program that can
> make the request (GET or POST) and store retrieve the result
> returned from the server where the action was made.
>
> Brad
>
> On Tue, 25 Sep 2001 23:24:45 +0200
> "Joep Beckeringh" <joep@beckeringh.myweb.nl> wrote:
> > Eh, why would you want to do that? Normally an HTTP POST
> > would be done by a
> > browser from an HTML page containing a form definition.
> >
> > Joep Beckeringh
> >
> >
> > ----- Original Message -----
> > From: "Giri Gopal" <GiriGopal@bcginK.com>
> > To: <rpg400-l@midrange.com>
> > Sent: Tuesday, September 25, 2001 8:52 PM
> > Subject: Doing a HTTP Post from rpg program
> >
> >
> > > Hello:
> > >
> > > Does any one have a sample program to do a HTTP post
> > from within a rpgle
> > > program?.
> > >
> > >
> > > Thanks
> > > GG
> >
> >
> >
> > _______________________________________________
> > This is the RPG programming on the AS400 / iSeries
> > (RPG400-L) mailing list
> > To post a message email: RPG400-L@midrange.com
> > To subscribe, unsubscribe, or change list options,
> > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> > or email: RPG400-L-request@midrange.com
> > Before posting, please take a moment to review the
> > archives
> > at http://archive.midrange.com/rpg400-l.
> >
>
> Bradley V. Stone
> BVS.Tools
> www.bvstools.com
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> or email: RPG400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.