I'm migrating from Mechanize to Requests because Mechanize isn't supported yet in Python 3.x. I've come up with this simple script to post data, but the returned page shows an error: Error: Can't load FIXES database!
url = "http://rfinder.asalink.net/free/"
payload = {"id1": "EGLL", "id2": "LOWW"}
r = requests.post(url, payload)
Using mechanize I only had to post the id1 and id2 fields and submit the form. All other fields were default.
I think this is where things go wrong. How do I tell Requests to post all the default data + the id1 and id2 fields?