From: Chad Fowler Date: 2001-12-22T13:35:01+09:00 Subject: [ruby-talk:29290] Re: HTTP POST Jim Menard wrote: > Chad Fowler writes: > > >> >>Can you also post the GET request that you send to the server? >> > > The GET request: > > GET /PingServer/Ping?PingRequestXML=[snipped]&action=[snipped] HTTP/1.1 > Host: localhost > > The reply: > > AARRGGHH! I don't receive what I expected. > > I get no reply from a post(url, data). I get no reply from a get(url, > data). I only get a reply from a post(url + "?" + data, nil). Doesn't that > make the request a GET? > > Jim > It's only a GET if it sends "GET /PingServer....". Do you have the source for this servlet? Perhaps it's only got a doPost() method defined and it's reading its parameters directly from QUERY_STRING. Chad