curl-users
basic question using curl on flash/ajax page
Date: Wed, 29 Jul 2009 21:42:53 -0700
Thanks for helping me with my question. I will be as detailed as
possible. I would like to enter some emails into this system without
typing in all 50 by hand. The page I am working from is:
http://www.podomatic.com/share/index/1226518/0/section_email (this
required a login which I am successfully able to do with curl)
Here is the HTML that is relevant from the page I am doing this from:
<div id='emailgtwo'>
Your address book is empty. What would you like to do?
<ol class='import_choices'>
<li><a href="#" onclick="new
Ajax.Updater('emailgtwo', 'http://www.podOmatic.com/share/scrapeml',
{asynchronous:true, evalScripts:true}); return false;">Get emails from
my address book on Yahoo!, Gmail, Hotmail, etc.</a></li>
<li><a href="#" onclick="new
Ajax.Updater('emailgtwo', 'http://www.podOmatic.com/share/manualml',
{asynchronous:true, evalScripts:true}); return false;">Enter emails by
hand</a></li>
<li><a
href="http://www.podOmatic.com/share/index/1226518//section_email">Don't
add anyone right now</a></li>
</ol>
</div>
You can see that the clicking on "Enter emails by hand" calls an AJAX
function which goes to http://www.podOmatic.com/share/scrapeml. This
page is completely empty.
Here is the HTTP Live Headers Output:
POST /share/manualml
POST /share/manualml
added=1&name_0=test&addy_0=test%40gmail.com&name_1=&addy_1=&name_2=&addy_2=&name_3=&addy_3=&name_4=&addy_4=
When I replicate this in the data using the curl command line, it
doesn't do anything but works when I do it by hand. Can someone guide
me to a solution? Thank you!
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-07-30