File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,18 @@ var (
4040
4141var InvokeCmd = & cobra.Command {
4242 Use : "invoke" ,
43- Short : "Invoke a method on a given Dapr application. Supported platforms: Self -hosted" ,
43+ Short : "Invoke a method on a given Dapr application. Supported platforms: Kubernetes and self -hosted" ,
4444 Example : `
45- # Invoke a sample method on target app with POST Verb
45+ # Invoke a sample method on target app with POST Verb in self-hosted mode
4646dapr invoke --app-id target --method sample --data '{"key":"value"}
4747
48- # Invoke a sample method on target app with GET Verb
48+ # Invoke a sample method on target app with in Kubernetes
49+ dapr invoke -k --app-id target --method sample --data '{"key":"value"}
50+
51+ # Invoke a sample method on target app with GET Verb in self-hosted mode
4952dapr invoke --app-id target --method sample --verb GET
5053
51- # Invoke a sample method on target app with GET Verb using Unix domain socket
54+ # Invoke a sample method on target app with GET Verb using Unix domain socket in self-hosted mode
5255dapr invoke --unix-domain-socket --app-id target --method sample --verb GET
5356` ,
5457 Run : func (cmd * cobra.Command , args []string ) {
You can’t perform that action at this time.
0 commit comments