Fixed
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Matt Levine
Matt Levine(Deactivated)Priority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Created 1 October 2016 at 05:17
Updated 24 October 2016 at 11:53
Resolved 10 October 2016 at 20:24
Http params set are not set when http.setMethod('put').
You can see it if your use
<cfscript>
function test(){
local.http = new http();
local.http.setMethod('put');
local.http.setURL('http://testdomain/formtest/');
local.http.addParam(type="formfield",name='email',value='test@test.com');
local.httpSendResult = local.http.send();
local.httpResult = httpSendResult.getPrefix();
return local.httpResult;
}
Writeoutput(test().filecontent);
</cfscript>
And then on the test domain use this to echo back any sent variables
<cfparam name="form" default="#structNew()#">
<cfoutput>#serializeJSON(form)#</cfoutput>