[opensource] Google Voice AJAX/POST
paul at paulbetts.org
Fri Jul 23 20:08:14 EDT 2010
There are many open-source GVoice libraries - I'd just see how one of them did it.
SENT FROM MY COMMODORE 64: RESPONSES MAY BE IN ALL CAPS
Am Jul 23, 2010 um 16:38 schrieb Brian Swaney <swaneybr at opensource.osu.edu>:
> Does anyone have experience with submitting forms using POST data?
> A few months ago I subscribed to Google Voice, and it turns out they provide a widget you can place on your web pages such that a user can enter their name and phone number to "call" you, but never actually get your phone number (even your Google number). I thought it seemed pretty neat, except that the widget is a Flash object, and is not customizable in the least bit.
> A Google search turned up an article <http://razvangavril.com/web-development/custom-google-voice-widget/> detailing how the applet does nothing more than make a POST request, which you can do yourself with some HTML forms. He (correctly) suggested that you submit the data using AJAX instead of a regular submit button, because otherwise the user will be redirected to a page that says "ok=true", as I found myself.
> My request looks like
> but that's obviously not working. Could somebody instruct me on how to form a proper POST string to pass into ajaxRequest.send(POSTrequest);?
> Brian Swaney
> Open Source Club at
> Ohio State University
> Website Administrator
> Opensource mailing list
> Opensource at cse.ohio-state.edu
More information about the Opensource