[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Which procedure for non-XML document
Thanks, Scott.
I also received a response from Mike Krebs suggesting that EXAMPLE5
could be used.
Would you agree with that? I imagine I would just populate the Data
variable with my name/value pairs.
If I used EXAMPLE2 as a model, how would I capture the returned data
in an RPG variable? The 4th parameter of the http_url-post procedure
is a path name.
What is a 'callback'?
Lorne.
Message: 1
Date: Thu, 30 Oct 2008 12:31:49 -0500
From: Scott Klement <sk@xxxxxxxxxxxxxxxx>
Subject: Re: Which procedure for non-XML document
To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID: <4909EF85.1050607@xxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Lorne,
HTTPAPI knows how to encode and send name/value pairs. Look at the
EXAMPLE2 member for a sample of that.
If what you say is accurate, you will get back a response of
name/value
pairs. (That's an unusual thing -- first time I've heard of someone
doing that.) HTTPAPI will give them back to you as a file or
callback.
where the results will be in all one string. It'll be up to you to
extract the data you need from that string (though, I would think that
would be pretty easy to do.)
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------