Knative - Invoke
Invokes the deployed function and display its output on the console.
serverless invoke --function functionName
Options
--function
or-f
The name of the function in your service that you want to invoke. Required.
Examples
serverless invoke --function functionName
This example will invoke your deployed function named functionName
and outputs the result of the invocation in your terminal.
Edit this page