gordon
On Wed, Apr 29, 2009 at 7:58 AM, Luis I. Gomez <GomezL@collectionsoftware.com (GomezL@collectionsoftware.com)> wrote:
I was looking at the Br 4.2 release notes, and it looks like HTTP Client & Server is documented.
Does anyone have a short program that actually reads a web site?
I remember that there was something that checked the UPS tracking #’s or something like that.
I figure it’s timehink like
OPEN #1:”NAME=http://ads.net,HTTP=CLIENT”,D,I
When I try LINPUT I get error 716.
Clearly I am missing something.
HTTP Support
The OPEN string for XML and DISPLAY files will support a new optional parameter called HTTP=CLIENT or HTTP=SERVER. The CLIENT or SERVER designation will denote processing in the following sequence:CONFIG HTTP PORT 5555 LOG file-pathnameCONFIG HTTPS PORT 7777 LOG file-pathname
CLIENT
OPEN
NAME=Full URL - web page reference -
CONTROL=display-filename
PRINT (accumulate post data) PRINT …
· When the first LINPUT is issued POSTing of all print lines occurs
· and all responses are buffered before the LINPUT returns data.
LINPUT
· until EOF is reached or until another PRINT is issued
· a PRINT clears the LINPUT buffer
Processing must be performed in the above sequence or an error is generated.
FILE$(fileno,”HTTPINFO”) returns LOG info for the latest action.
Luis I. Gomez
GomezL@CollectionSoftware.com (GomezL@CollectionSoftware.com)
1-800-435-7257
Commercial Legal Software, Inc.
http://www.CollectionSoftware.com
_______________________________________________
BR_forum mailing list
BR_forum@ads.net (BR_forum@ads.net)
http://ads.net/mailman/listinfo/br_forum_ads.net