From: Jim Menard Date: 2001-12-22T13:35:03+09:00 Subject: [ruby-talk:29292] Re: HTTP POST Chad Fowler writes: > 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. Hmm...that could be. I will have to ask for the source; someone else developed the servlet. Thank you very much for all your help. Jim -- Jim Menard, jimm@io.com, http://www.io.com/~jimm/ "I want to be remembered as someone who's not dead." -- Christine Peterson