My Rails app. needs to retrieve XML statistical data from another site’s
API. To get the XML page, I need to POST the username and password and
date for the stats.
So far I have managed to do this:
within my app, I created a form with the (hidden) username, password,
date and post it to the proper url… this causes my brower to redirect
to the API page and sure enough I see the XML.
Then I copy the XML, go BACK (with my browser)to my app, and I paste it
into a textbox in my app. I submit this and I am able to properly parse
What I can’t figure out is this:
how do I get my app to automatically retrieve the XML so that I don’t
have to cut and paste it? Any help would be appreciated!