|
Plug-in PHP: 100 Power Solutions By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596) Home | About | Buy It |
Chapter 11: Plug-in 82 - Post Ajax RequestThe previous plug-in provides a means of creating an XMLHttpRequest object, with which this plug-in makes a POST request to the server to request some data to be transferred back to the browser. Both of these requests happen seamlessly in the background with the user generally unaware that such things are taking place. A POST request is where data is sent to the server within header messages, rather than as part of a URL tail (or query string), as in GET requests. |