:: Forum >>
Active.HTTP-Request = XML-Http?
I'm assuming that this section implements the popular XML-Http requests, such as is used on GMail and Google Suggest. Does anyone have an example using this?
Brian Kreulen
Wednesday, May 4, 2005
Here is some simple code that uses POST instead of GET. We return XML documents to our function.
var at = new Active.HTTP.Request;
at.setURL("design_handler.asmx/RetrieveWidgetSpecification");
at.setRequestMethod("POST");
var formhandler = this;
at.setParameter("widgetid", widgetid.trim());
var _rsp = at.response;
at.response = function(xml)
{
_rsp.call(this, xml);
}
Alex
Wednesday, May 4, 2005
This topic is archived.
Back to support forum
Forum search