X
XY$
Hi,
I have a webpage with a multipart form containing among others two
input fields and one textarea, all three with the same name and all
three being different ways to submit the same data (an identifier of
the data, or a file containing the data, or the actual data). I would
like to submit the form providing data to the textarea and having the
two other fileds empty.
Building query like:
q={"name"=>"", "name"=>"", name="data of some sort"}
and using eg Mechanize to submit the form like that:
resp=agent.post(url,q)
produces error at the server side script.
I'd be thankful for hints how to submit this form.
K
I have a webpage with a multipart form containing among others two
input fields and one textarea, all three with the same name and all
three being different ways to submit the same data (an identifier of
the data, or a file containing the data, or the actual data). I would
like to submit the form providing data to the textarea and having the
two other fileds empty.
Building query like:
q={"name"=>"", "name"=>"", name="data of some sort"}
and using eg Mechanize to submit the form like that:
resp=agent.post(url,q)
produces error at the server side script.
I'd be thankful for hints how to submit this form.
K