Guest User

Untitled

a guest
Nov 14th, 2013
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.16 KB | None | 0 0
  1. var url = "http://localhost"
  2. var data = new Foo();
  3. var client = new HttpClient();
  4.  
  5. client.PutAsync<Foo>(url, data, new FormUrlEncodedMediaTypeFormatter());
Advertisement
Add Comment
Please, Sign In to add comment