US: 800.995.PLUM UK: 0845.355.3330
- What is IVR?
- IVR Products & Services
- Free Consultation
- Plum IVR Surveys
- About Us
from the Plum Voice IVR Glossary
HTTP GET is a typical request made by a client for a resource on a web server via the HTTP protocol. Generally the protocol itself is transparent to the user, who simply submits the URL of the desired page to a browser. GET is an action verb of the HTTP protocol that translates to the intent to fetch a resource without changing it or causing side effects.
Simple data can sent to the server as part of the request. Thus, HTTP GET and HTTP POST are sometimes spoken of together, and are two common methods by which data can be submitted over the internet, or simply from one program to another. In a Plum IVR application, GET and POST are useful for communication between VoiceXML pages and backend scripts, or simply between VoiceXML pages.
encodeURIComponent to assist with this process, and PHP provides the function
Let's say there is a script at
http://example.com/search.php which expects to be passed two variables by the names "fruit" and "size". Then a URL that includes a GET request might look like the following:
Certain VoiceXML tags will construct and perform a GET request. Note the use of the
<submit next="http://example.com/search.php" namelist="fruit size" method="get"/> <subdialog src="http://example.com/search.php" namelist="fruit size" method="get"/>
For more information, see the Plum developer documentation, chapter 5, on "Data Exchange."
|© 2013 The Plum Group, Inc.|