일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- mysql
- nullable
- 코딩테스트
- dotNET
- WPF
- git
- chashtag
- Binding
- .net
- Visual Studio
- string
- Coding
- log
- ListView
- csharp
- C#
- programmers
- convert
- Process
- logging
- windows
- commit
- tls
- IValueConverter
- File
- Microsoft
- algorithm
- windows10
- coding-test
- Github
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