aeroson

Untitled

Jan 12th, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. var request = (HttpWebRequest)WebRequest.Create("http://wsv000900.eu.tieto.com:21004/api/PostCode/GetWhispererPostalCodes/");
  2. request.Method = "POST";
  3. request.ContentType = "application/json";
  4. request.ContentLength = 0;
  5. HttpWebResponse response = (HttpWebResponse)request.GetResponse();
  6. var data = Encoding.UTF8.GetString(response.GetResponseStream().ReadFully());
  7. Console.Write(data);
Add Comment
Please, Sign In to add comment