String url = "https://www.someurl.com";
RestClient client = new RestClient(url);
client.AddParam("key", "value");
client.AddParam("keyOne", "valueOne");
try{
client.Execute(RequestMethod.GET);
String response = client.getResponse();
}catch(Exception b){
}
String url = "https://www.someurl.com";
RestClient client = new RestClient(url);
client.AddParam("key", "value");
client.AddParam("keyOne", "valueOne");
try{
client.Execute(RequestMethod.POST);
String response = client.getResponse();
}catch(Exception b){
}