Created
October 11, 2018 16:56
-
-
Save Mirch/fc43d3f9f676a5756024d8f745e206ae to your computer and use it in GitHub Desktop.
This file contains 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
public class TestController : Controller | |
{ | |
private HttpClient _client; | |
public TestController() | |
{ | |
_client = new HttpClient(); | |
_client.BaseAddress = new Uri("http://example.com/api"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment