CFHttp not sending post fields

On Lucee 4.5, when using http (cfhttp) to do a POST with http params of
type “formfield” the form fields are not sent…I accidentally discovered I
can only get it to work with a file attachment?

Page 1:

#cfhttp.filecontent#

Page 2: ( destination.cfm ) a simple dump out…
The form scope is always blank, unless page 1 includes the valid http param
line of type “file”, in which case both fields appear correctly?

writeDump(var=form,label="form"); writeDump(var=url,label="url"); writeDump(GetHttpRequestData());

Try adding ‘multipart=“yes”’ to your cfhttp tag. The default is “no” (probably for the sake of speed).–
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Jonathan Smith” <@Jonathan_Smith>
To: “Lucee” lucee@googlegroups.com
Sent: Thursday, June 2, 2016 12:40:41 PM
Subject: [Lucee] CFHttp not sending post fields

On Lucee 4.5, when using http (cfhttp) to do a POST with http params of
type “formfield” the form fields are not sent…I accidentally discovered I
can only get it to work with a file attachment?

Page 1:

#cfhttp.filecontent#

Page 2: ( destination.cfm ) a simple dump out…
The form scope is always blank, unless page 1 includes the valid http param
line of type “file”, in which case both fields appear correctly?

writeDump(var=form,label="form"); writeDump(var=url,label="url"); writeDump(GetHttpRequestData());


Win a ticket to dev.objective from Lucee via Twitter, see http://bit.ly/1UbTMWj for details, good luck and see you there…

You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/ee921855-a37c-4626-b570-59b9f0ace80a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.