apigent paste
apigent paste
Copy a saved request to the clipboard as a curl command, with literal secrets masked.
Synopsis
apigent paste <name> [--reveal]Literal secret header values, sensitive query parameters and secret auth params are masked as ***** unless you pass --reveal. paste is refused in agent mode because it writes to the clipboard; use apigent show <name> --format curl instead.
Flags
| Flag | Short | Default | Description |
|---|---|---|---|
--reveal | false | Include secret header and auth values instead of masking them |
Aliases
clipcopy
Examples
Copy a request to share
apigent paste "create-order"Copy with real credentials (for your own terminal only)
apigent paste "create-order" --revealRelated commands
apigent codegen- Generate code in other languagesapigent show- Print the request as curl (--format curl)apigent export- Export requests to a file