B.2. GET versus POST

The VoiceXML element types submit and subdialog both provide a method attribute allowing the VoiceXML developer to choose whether to use HTTP GET or HTTP POST to push data from the VoiceXML interpreter up to the server. This section will briefly examine the differences between these two methods.

The HTTP GET method is typically used to get information from the server. Dynamic Web applications, however, often require that the client pass parameters up to the server when requesting a page. The HTTP GET method was extended to allow these parameters to be appended to the end of the URL, for example:


A question mark (?) after the resource name introduces a list ...

Get Definitive VoiceXML™ now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.