< /div>
서버 H.ashx
코드 복사
public void ProcessRequest(HttpContext 컨텍스트) {
context.Response.ContentType = "text /plain";
string result = context.Request.QueryString["jsoncallback"] "({"name":"The test number is","openid":"123456789"})";
context.Response.Clear();
context.Response.Write(result)
context.Response.End()
public bool IsReusable {
get {
return false
}
}
}