1--- 2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3SPDX-License-Identifier: curl 4Short: : 5Long: next 6Tags: 7Protocols: 8Added: 7.36.0 9Magic: divider 10Help: Make next URL use its separate set of options 11Category: curl 12Multi: append 13See-also: 14 - parallel 15 - config 16Example: 17 - $URL --next -d postthis www2.example.com 18 - -I $URL --next https://example.net/ 19--- 20 21# `--next` 22 23Tells curl to use a separate operation for the following URL and associated 24options. This allows you to send several URL requests, each with their own 25specific options, for example, such as different user names or custom requests 26for each. 27 28--next resets all local options and only global ones have their values survive 29over to the operation following the --next instruction. Global options include 30--verbose, --trace, --trace-ascii and --fail-early. 31 32For example, you can do both a GET and a POST in a single command line: 33 34 curl www1.example.com --next -d postthis www2.example.com 35