티스토리 뷰
string reqData = string.Empty;
reqData += "<?xml version='1.0' encoding='UTF-8'?>";
reqData += "<METAINFO>";
reqData += " <FEATURE_GUBUN>HASH</FEATURE_GUBUN>";
reqData += " <COMPANY_CODE>" + Config.Instance.CompanyCode.ToString() + "</COMPANY_CODE>";
reqData += " <TRANS_DATETIME>" + DateTime.Now.ToString("yyyyMMddHHmmss") + "</TRANS_DATETIME>";
reqData += "</METAINFO>";
byte[] bData = Encoding.UTF8.GetBytes(reqData);
HttpWebRequest webRequest = WebRequest.Create(url) as HttpWebRequest;
if (webRequest != null)
{
webRequest.Method = "POST";
webRequest.ContentType = "text/xml";
webRequest.ContentLength = bData.Length;
Stream streamRequest = webRequest.GetRequestStream();
streamRequest.Write(bData, 0, bData.Length);
streamRequest.Close();
HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse();
Stream hashStream = webResponse.GetResponseStream();
StreamReader readerPost = new StreamReader(hashStream, Encoding.UTF8);
responseXML(hashStream);
}
- Total
- Today
- Yesterday
- In App Purchase
- docker
- 진수 변환
- React
- 스프링 프레임워크(spring framework)
- jstl(java standard tag library)
- java-개발 환경 설정하기
- MainActor
- java web-mvc
- 메이븐(maven)
- 스프링 시큐리티(spring security)-http basic 인증
- java.sql
- await
- 람다식(lambda expression)
- System.Diagnostics
- 제품 등록
- jstl(java standard tag library)-core
- 인텔리제이(intellij)
- 표현 언어(expression language)
- nl2br
- jsp 오픈 소스
- 특정 문자를 기준으로 자르기
- 스프링 프레임워크(spring framewordk)
- REST API
- system.io
- error-java
- .submit()
- 문자 자르기
- 스프링 시큐리티(spring security)
- java 키워드 정리
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |