From: hussain Date: 2007-04-22T03:44:24+09:00 Subject: URL Splitting Hai I am new to Ruby now i have one situation that,I need to get the url from database dependding upon user id i have stored the url in database and also stored the parameter keys in database but my problem is ,i can get the url and parameter from database, but i want to post the url from ruby Net/http api.i am using Net::HTTP.post_form() method to post the Url,but my question is ,if the url having the same type of parameter then there is no problem,if the Url is not having the same type of parameter then how can i post the Url dynamically? Example: 1) http://www.mob.com/add.asp?username=hussain&password=hussain 2) http://www.zad.com/list.asp?username=hussain 3) http://www.mob.com/add.asp?username=hussain&password=hussain&code=xxx I have stored this data "http://www.mob.com/add.asp" in url field in DB I have stored this data "username;password" in parameter field in DB i want to post these three url dynamically from Ruby can anybody tell me the answer? Bye By P.S.Hussain -- Posted via http://www.ruby-forum.com/.