티스토리 뷰
Uri uri = null;
if ("ansim".Equals(transaction) || "xansim".Equals(transaction) || "kmpi".Equals(transaction))
{
uri = new Uri("https://www.allthegate.com/payment/mobilev2/transaction/ansim.jsp?storeID=" + StoreId + "&trackingID=" + tracking_id + "&type=" + type);
}
if ("isp".Equals(transaction) || "xansim".Equals(transaction) || "kmpi".Equals(transaction))
{
uri = new Uri("https://www.allthegate.com/payment/mobilev2/transaction/isp.jsp?storeID=" + StoreId + "&trackingID=" + tracking_id + "&type=" + type);
}
if (uri == null) { TempData["PaymentMessage"] = "emptyURL"; return RedirectToAction("ToToPayByHP", "My"); }
System.Net.HttpWebRequest wReq;
System.Net.HttpWebResponse wRes;
wReq = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(uri);
wReq.Method = "GET";
wReq.ServicePoint.Expect100Continue = false;
using (wRes = (HttpWebResponse)wReq.GetResponse())
{
System.IO.Stream respPostStream = wRes.GetResponseStream();
System.IO.StreamReader readerPost = new System.IO.StreamReader(respPostStream, Encoding.GetEncoding("utf-8"), true);
JsonResult js = Json(readerPost.ReadToEnd(), JsonRequestBehavior.AllowGet);
System.Web.Script.Serialization.JavaScriptSerializer serializer = new System.Web.Script.Serialization.JavaScriptSerializer();
AllTheGateMobileResultEntity allTheGateMobileResultEntity = serializer.Deserialize<AllTheGateMobileResultEntity>(js.Data.ToString());
allTheGateMobileResultEntity.JsonData = js.Data.ToString();
return Content(allTheGateMobileResultEntity.JsonData);
}
- Total
- Today
- Yesterday
- await
- 문자 자르기
- async
- 명령어
- 제품 등록
- System.Diagnostics
- trim
- In App Purchase
- html tag
- FileUpload
- 앱 스토어
- 진수 변환
- 상품 등록
- system.io
- App Store
- 아이폰
- 공백제거
- mssql
- hyper-v
- 특정 문자를 기준으로 자르기
- MainActor
- .submit()
- nl2br
- Task
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |