I think it could be because HttpRequest defaults the content type to
text/plain. Try setting the right content type, like this:
httpRequest.setRequestHeader("Content-type",
"application/x-www-form-urlencoded");
Does this work without setting the header in XmlHttpRequest?
- a
On Sep 12, 2007 8:25 AM, neyric <eric...@gmail.com> wrote:
I made a small exemple for my problem using google gears HttpRequest
(version 0.2, developer release):
http://www.neyric.com/~neyric/gears_test/test.html
It seems that the "postData" parameters of the HttpRequest.send method
is not send within the POST body.
Am I doing something wrong ?
By the way: is there any way we can "see" the request with firebug ?
Thanks.