일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- tls
- Coding
- Binding
- csharp
- logging
- Visual Studio
- coding-test
- git
- WPF
- dotNET
- nullable
- mysql
- string
- windows
- C#
- programmers
- algorithm
- Github
- commit
- convert
- File
- .net
- Process
- log
- Microsoft
- windows10
- IValueConverter
- chashtag
- 코딩테스트
- ListView
Archives
- Today
- Total
목록HTTP (1)
CHashtag
[C#] RestSharp 사용방법(GET, POST)
안녕하세요. 오늘은 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