#Knative - Invoke

Invokes the deployed function and display its output on the console.

serverless invoke --function functionName


  • --function or -f The name of the function in your service that you want to invoke. Required.


serverless invoke --function functionName

This example will invoke your deployed function named functionName and outputs the result of the invocation in your terminal.

Have questions?

Head over to the forums to search for your questions and issues or post a new one.