2
0

next.d 967 B

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