I have an HTTP object I am using in my application like so...
httpService = new http();
httpService.setURL("http://#application.thishost#/cfc/comp.cfc?method=methodName&oData=#url.oData#");
httpService.setPort(80);
httpService.setMethod("get");
httpService.setResolveURL("no");
httpService.setThrowOnError("yes");
local.response = httpService.send().getPrefix().filecontent;
For some reason this is throwing a 404 error and I can't figure out why. I have trapped the error and spit out httpService.getURL() and then pasted the URL into my browser and the page loads and executes without a problem. Any help appreciated.