SHARE
TWEET

Untitled

a guest Jan 28th, 2016 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var customer = new ExpandoObject(); // Or any dynamic type
  2. data.username = "test";
  3. data.password = "test";
  4. data.action = "shorturl";
  5. data.format = "json";
  6. data.url = "www.google.com";
  7. var http = new HttpClient();
  8. http.Post("http://yourlstest789.byethost7.com/yourls-api.php", data, HttpContentTypes.ApplicationXWwwFormUrlEncoded );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top