upbit1 HttpClient 사용해서 UPBIT 마켓 조회하기 HttpClient 사용해서 UPBIT 마켓 조회하기 1. HttpClient 선언해줍니다. using System.Net.Http; private static HttpClient client = new HttpClient(); 2. Button을 추가하고 GetAsync를 실행한다. private void btnGetMarket_Click(object sender, EventArgs e) { HttpResponseMessage response = client.GetAsync("https://api.upbit.com/v1/market/all").GetAwaiter().GetResult(); string json = response.Content.ReadAsStringAsync().GetAwaiter()... 2023. 6. 26. 이전 1 다음