url-query.d 803 B

12345678910111213141516171819202122232425
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: url-query
  4. Arg: <data>
  5. Help: Add a URL query part
  6. Protocols: all
  7. See-also: data-urlencode get
  8. Added: 7.87.0
  9. Category: http post upload
  10. Example: --url-query name=val $URL
  11. Example: --url-query =encodethis http://example.net/foo
  12. Example: --url-query name@file $URL
  13. Example: --url-query @fileonly $URL
  14. Example: --url-query "+name=%20foo" $URL
  15. Multi: append
  16. ---
  17. This option adds a piece of data, usually a name + value pair, to the end of
  18. the URL query part. The syntax is identical to that used for --data-urlencode
  19. with one extension:
  20. If the argument starts with a '+' (plus), the rest of the string is provided
  21. as-is unencoded.
  22. The query part of a URL is the one following the question mark on the right
  23. end.