[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Syntax for RESTful scripting options
From: |
Hrvoje Niksic |
Subject: |
Re: [Bug-wget] Syntax for RESTful scripting options |
Date: |
Sun, 10 Mar 2013 00:51:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Darshit Shah <address@hidden> writes:
> Okay gathering inputs from all the replies above., I think the best way to
> move forward would be to implement a --method=<GET|POST|PUT|DELETE>
> followed by --post-data or --post-file in case of POST and --put-data
> --put-file in case of the PUT option.
Since the proposed options influence the sending of request body, how
about: --request-body=... and --request-body-file=...? This also
removes the need to have two pairs of identical options only because the
method is mentioned in the name of the option.
Another possibility would be to add some more syntax to --method so as
to allow --method=POST:file=foo, and also --method=PUT:data=abc....
That way both --post-data and --post-file would become deprecated and no
new options would be needed.
- Re: [Bug-wget] Syntax for RESTful scripting options, (continued)
- Re: [Bug-wget] Syntax for RESTful scripting options, Darshit Shah, 2013/03/11
- Re: [Bug-wget] Syntax for RESTful scripting options, Giuseppe Scrivano, 2013/03/11
- Re: [Bug-wget] Syntax for RESTful scripting options, Darshit Shah, 2013/03/11
- Re: [Bug-wget] Syntax for RESTful scripting options, Giuseppe Scrivano, 2013/03/11
- Re: [Bug-wget] Syntax for RESTful scripting options, Darshit Shah, 2013/03/11
- Re: [Bug-wget] Syntax for RESTful scripting options, Darshit Shah, 2013/03/11
- Re: [Bug-wget] Syntax for RESTful scripting options, Giuseppe Scrivano, 2013/03/11
- Re: [Bug-wget] Syntax for RESTful scripting options, Darshit Shah, 2013/03/15
- Re: [Bug-wget] Syntax for RESTful scripting options, Giuseppe Scrivano, 2013/03/16
- Re: [Bug-wget] Syntax for RESTful scripting options, Darshit Shah, 2013/03/17
- Re: [Bug-wget] Syntax for RESTful scripting options,
Hrvoje Niksic <=
- Re: [Bug-wget] Syntax for RESTful scripting options, Tony Lewis, 2013/03/09
- Re: [Bug-wget] Syntax for RESTful scripting options, Hrvoje Niksic, 2013/03/10
Re: [Bug-wget] Syntax for RESTful scripting options, Ángel González, 2013/03/08