File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / docs / cmdline-opts / next.d
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:15 2020 UTC (4 years, 10 months ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    1: Short: :
    2: Long: next
    3: Tags:
    4: Protocols:
    5: Added: 7.36.0
    6: Magic: divider
    7: Help: Make next URL use its separate set of options
    8: ---
    9: Tells curl to use a separate operation for the following URL and associated
   10: options. This allows you to send several URL requests, each with their own
   11: specific options, for example, such as different user names or custom requests
   12: for each.
   13: 
   14: --next will reset all local options and only global ones will have their
   15: values survive over to the operation following the --next instruction. Global
   16: options include --verbose, --trace, --trace-ascii and --fail-early.
   17: 
   18: For example, you can do both a GET and a POST in a single command line:
   19: 
   20:  curl www1.example.com --next -d postthis www2.example.com

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>