InterviewSolution
| 1. |
How Do We Pass Parameters To The Server? |
|
Answer» Below are the two ways of PASSING data to server. The first one shows by USING GET and the second by POST. xmlHttpObj.open("GET","HTTP://" + location.host + "/XmlHttpExample1/WebForm1.aspx?value=123", TRUE); xmlHttpObj.open("POST","http://" + location.host + "/XmlHttpExample1/WebForm1.aspx?value=123", true); Below are the two ways of passing data to server. The first one shows by using GET and the second by POST. xmlHttpObj.open("GET","http://" + location.host + "/XmlHttpExample1/WebForm1.aspx?value=123", true); xmlHttpObj.open("POST","http://" + location.host + "/XmlHttpExample1/WebForm1.aspx?value=123", true); |
|