cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Post with <select multiple>

From: Craig Davison <cd_at_securityfocus.com>
Date: Fri, 13 Apr 2001 16:08:01 -0600 (MDT)

On Fri, 13 Apr 2001, Ide, Jim wrote:

> If I change the form to:
>
> <form method="POST" action="junk.cgi">
> <input type=text name="name">
> <input type=select name="city" multiple>
> <option>London
> <option>Rome
> <option>Paris
> <option>New York
> <option>Tokyo
> <option>Toronto
> </select>
> <input type=submit name=press value="OK">
> </form>
>
> What do I put in -d to send multiple values (for example London, Rome, and
> Tokyo) to the form?

Why don't you change the method to GET and find out with a web browser?
All you need to do is look at the Location bar after submitting the form.
Received on 2001-04-14