invoke CLI command reference

Detailed information on the invoke CLI command

Description

Invokes a Dapr app with an optional payload (deprecated, use invokePost)

Usage

dapr invoke [flags]

Flags

Name Environment Variable Default Description
--app-id, -a The app ID to invoke
--help, -h Help for invoke
--method, -m The method to invoke
--payload, -p (optional) a json payload