next.d 715 B

1234567891011121314151617181920
  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. --next will reset all local options and only global ones will have their
  14. values survive over to the operation following the --next instruction. Global
  15. options include --verbose, --trace, --trace-ascii and --fail-early.
  16. For example, you can do both a GET and a POST in a single command line:
  17. curl www1.example.com --next -d postthis www2.example.com