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