Saved Bookmarks
| 1. |
What Are The Different Ways To Pass Parameters To The Server? |
|
Answer» We can PASS parameters to the server using either the GET or POST method. The following code snippets SHOW the EXAMPLE of both the methods: Get: XmlHttpObject.Open("GET", "file1.txt", true); Post: XmlHttpObject.Open("POST", "file2.txt", true); We can pass parameters to the server using either the GET or POST method. The following code snippets show the example of both the methods: Get: XmlHttpObject.Open("GET", "file1.txt", true); Post: XmlHttpObject.Open("POST", "file2.txt", true); |
|