If you want to make a GET request to a rails controller like UsuariosController you can do :
public static string HttpGet(string URI)
{
System.Net.WebRequest req = System.Net.WebRequest.Create(URI);
req.Proxy = new System.Net.WebProxy(ProxyString, true);
System.Net.WebResponse resp = req.GetResponse();
System.IO.StreamReader sr = new System.IO.StreamReader(resp.GetResponseStream());
return sr.ReadToEnd().Trim();
}
For example, if you want to access www.yourpage.com/Usuarios and get the users, that's the uri you have to call. (This will call index action, that is the default routing actionin your controllers i suppose). Or if you want to use another action.. /Usuarios/id/SomeMethodReturningSomething