Generally speeking, this isn't really a problem. CFHTTP is usually used
like this (creating a query) to pull a simple text file off of a remote
(sometimes local) server and then parse it into a query. It's pretty rare
that you'd post to a CGI type of program and expect to receive a delimited
plain text response.
A pretty simple workaround would be to use CFHTTP to POST, then use CFFILE
to store CFHTTP.FILECONTENTS in a file on the local server. Then call
CFHTTP again to GET the local file and create your query. Of course, if
you control the target cgi/template of the POST operation, you could
easily modify it to accept URL parameters and make it GETable.
Jim
-----Original Message-----
From: David Cummins <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, May 10, 2000 7:34 PM
Subject: Re: CFHTTP - for the love of god!
>I'm not saying that CFHTTP doesn't work with POST, I'm saying that you
can't create a _query_ with it, i.e. NAME="queryname" COLUMNS="a,b,c" etc.
>
>"Olive, Christopher M Mr USACHPPM" wrote:
>
>> no, you are incorrect. i created a "gateway" page to all my web based
email
>> accounts, so i could pick the account from a drop down, enter a
uname/pwd,
>> and go, instead of typing in separate URLs. it's kludgy (the app) but
the
>> part you want works.
>>
>> <CFHTTP "POST"...>
>> <CFHTTPPARAM NAME="fred" TYPE="FORM" VALUE="some value">
>> ...
>> </CFHTTP>
>>
>> (with all the more apologies to the freds out there.)
>>
>> Chris Olive
>> DOHRS Website Administrator
>>
>> -----Original Message-----
>> From: David Cummins [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, May 09, 2000 6:08 PM
>> To: [EMAIL PROTECTED]
>> Subject: CFHTTP - for the love of god!
>>
>> Am I correct in thinking that CFHTTP can only construct a query if you
>> use GET, not POST?
>>
>> Why are they doing this to us?????!!!!! I just need to send a few
>> parameters to a CGI script which only accepts POST operations, and it
>> returns nicely tab delimited text. If any of you know someone who works
>> for Allaire, please HURT THEM NOW.
>>
>> Dave
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.