Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func NewCommand(clients *shared.ClientFactory) *cobra.Command {
"",
"Body format is auto-detected from positional arguments:",
" - Multiple key=value args: form-encoded (token in request body)",
" - Single arg starting with { or [: JSON (Bearer token in header)",
" - Single arg starting with \\{ or \\[: JSON (Bearer token in header)",
" - No args: token sent in Authorization header",
"",
"Use --json to explicitly send a JSON body, or --data for a form-encoded body string.",
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commands/slack_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Parameters are passed as key=value pairs, a JSON body, or via flags.

Body format is auto-detected from positional arguments:
- Multiple key=value args: form-encoded (token in request body)
- Single arg starting with { or [: JSON (Bearer token in header)
- Single arg starting with \{ or \[: JSON (Bearer token in header)
- No args: token sent in Authorization header

Use --json to explicitly send a JSON body, or --data for a form-encoded body string.
Expand Down
Loading