일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- csharp
- Coding
- coding-test
- 코딩테스트
- logging
- Process
- WPF
- dotNET
- log
- algorithm
- string
- nullable
- git
- C#
- windows10
- tls
- chashtag
- Microsoft
- Github
- commit
- programmers
- .net
- Binding
- windows
- File
- Visual Studio
- IValueConverter
- ListView
- convert
- mysql
Archives
- Today
- Total
목록restsharp (1)
CHashtag

안녕하세요. 오늘은 HTTP 통신을 도와주는 라이브러리인 RestSharp을 이용하여 손쉽게 GET, POST요청을 보내는 방법에 대해 알아보도록 하겠습니다. using RestSharp; // 제네릭을 이용하여 Response 객체를 넘기면 자동으로 해당 객체로 변환하여 Return해줌 public static T Request(Method method, string baseUrl, string subUrl, Dictionary header = null, Dictionary queryParameter = null, Dictionary bodyParameter = null) { var restClient = new RestClient(baseUrl); var request = new RestRequest..
C#/Library 소개
2021. 12. 3. 11:13