next.d 730 B

123456789101112131415161718192021
  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. Category: curl
  9. ---
  10. Tells curl to use a separate operation for the following URL and associated
  11. options. This allows you to send several URL requests, each with their own
  12. specific options, for example, such as different user names or custom requests
  13. for each.
  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. For example, you can do both a GET and a POST in a single command line:
  18. curl www1.example.com --next -d postthis www2.example.com