next.d 953 B

1234567891011121314151617181920212223242526
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, 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. ---
  15. Tells curl to use a separate operation for the following URL and associated
  16. options. This allows you to send several URL requests, each with their own
  17. specific options, for example, such as different user names or custom requests
  18. for each.
  19. --next will reset all local options and only global ones will have their
  20. values survive over to the operation following the --next instruction. Global
  21. options include --verbose, --trace, --trace-ascii and --fail-early.
  22. For example, you can do both a GET and a POST in a single command line:
  23. curl www1.example.com --next -d postthis www2.example.com