From: 7stud -- Date: 2011-04-15T02:56:35+09:00 Subject: Re: HTTP request, with headers, post data and SSL :( Stuffe L. wrote in post #992713: > @7stud, I copied the code out of a function and tried to simplify it for > you guys to read :) But I must have forgot what you said. > But if you do as in your example, the contents of the data variable will > be send as a part of the query string no? No. This line: resp = http.post(url.path, data, headers) tells ruby to send a *post* request. POST requests do not include data in the query string--they put the data in the body of the request. The data still has to be in an agreed upon format, though, otherwise the other side won't know how to split it up to make sense of the data. -- Posted via http://www.ruby-forum.com/.