Skip to content

Latest commit

 

History

History
 
 

02_InvocationEvent_JS

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

invocationeventjs Function

Receives a payload and returns information about it.

Local Development

  1. Install dependencies with
npm install
  1. Run tests with
npm test
  1. Start your function locally
sf run function start --verbose
  1. Invoke your function locally with a JSON payload
sf run function --function-url=http://localhost:8080 --payload='{"name":"Jason", "message": "Hello Functions"}'