"Matthew Simoneau" <matthew@mathworks.com> wrote in message <gkiglu$942$1@fred.mathworks.com>...
> >> params = {'search','IBM','type','U','Submit','Submit'};
> >> s = urlread('http://www.theocc.com/cgi-bin/series_search.pl','POST',params);
>
> Here are the steps I followed:
>
> 1) Install "Web Developer Toolbar" in Firefox.
> 2) Open the form you want to submit.
> 3) Select Forms > Convert Form Methods > GETs to POSTs
> 4) Type in "IBM" and hit "Submit".
> 5) Look at the address in the browser and pick out the param-value pairs tacked on to the end of the URL.
> 6) Translate that to the optional arguments for URLREAD.
>
> Extracting the data from the HTML is an exercise left to the reader.
Thank you for the post. I face such a problem right now. There are only few questions coming to my mind. Is it may to use Web Developer Toolbar featured by any web browser (eg. chrome...)? And question regarding step 3) - "Forms" means a button in the Toolbar mentioned above? Thx.
> >> params = {'search','IBM','type','U','Submit','Submit'};
> >> s = urlread('http://www.theocc.com/cgi-bin/series_search.pl','POST',params);
>
> Here are the steps I followed:
>
> 1) Install "Web Developer Toolbar" in Firefox.
> 2) Open the form you want to submit.
> 3) Select Forms > Convert Form Methods > GETs to POSTs
> 4) Type in "IBM" and hit "Submit".
> 5) Look at the address in the browser and pick out the param-value pairs tacked on to the end of the URL.
> 6) Translate that to the optional arguments for URLREAD.
>
> Extracting the data from the HTML is an exercise left to the reader.
Thank you for the post. I face such a problem right now. There are only few questions coming to my mind. Is it may to use Web Developer Toolbar featured by any web browser (eg. chrome...)? And question regarding step 3) - "Forms" means a button in the Toolbar mentioned above? Thx.