Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. RestClient client = new RestClient();
  2. client.Host = "localhost";
  3. client.Port = 8080;
  4.  
  5. RestRequest request = new Grapevine.Client.RestRequest("/route1");
  6. request.HttpMethod = HttpMethod.POST;
  7.  
  8. RestResponse response = client.Execute(request) as RestResponse;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement