Index ¦ Archives ¦ Atom

Mechanize and Form Submit

It seems that using ruby's mechanize library usually works best with other sites when you submit a form with the button included - most sites must look for the button's name as one of the POST parameters. Thanks to that bug for my losing a couple hours sleep. I'll likely not forget this in the future.

© Steve Spigarelli. Built using Pelican. Theme by Giulio Fidente on github.