There is form
can upload files and input some fields, I built it using RoR
But what if I want to mimic sending a form in command line.
I want to achieve with Pyhton or Ruby
How to do it ?
I think I need to overcome the crsf_token
first (I can wget the page, and get the crsf_token )
But I don't know how to send binary file via Net::HTTP
in Ruby or httplib2
in Python
Thanks