mirror of
https://github.com/curl/curl.git
synced 2026-07-22 18:17:19 +03:00
parent
cd80716cb6
commit
9294ca8916
1 changed files with 16 additions and 0 deletions
|
|
@ -48,11 +48,27 @@ Available functions:
|
|||
## trim
|
||||
removes all leading and trailing white space.
|
||||
|
||||
Example:
|
||||
|
||||
curl --expand-url https.//example.com/{{url:trim}}
|
||||
|
||||
## json
|
||||
outputs the content using JSON string quoting rules.
|
||||
|
||||
Example:
|
||||
|
||||
curl --expand-data {{data:json}} https://example.com
|
||||
|
||||
## url
|
||||
shows the content URL (percent) encoded.
|
||||
|
||||
Example:
|
||||
|
||||
curl --expand-url https://example.com/{{path:url}}
|
||||
|
||||
## b64
|
||||
expands the variable base64 encoded
|
||||
|
||||
Example:
|
||||
|
||||
curl --expand-url https://example.com/{{var:b64}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue