Skip to content

patela/sample-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sample-lambda

Simple AWS Lambda which has one endpoint

To deploy using serverless, use the following command:

serverless deploy --stage local --region us-east-1

After deploy completes, you should see a message in output like this:

✔ Service deployed to stack sample-app-local (28s)

endpoint: http://localhost:4566/restapis/u2cw487nt5/local/_user_request_

Use curl to request the /hello endpoint, like this:

curl http://localhost:4566/restapis/u2cw487nt5/local/_user_request_/hello

The response should be:

Hello World!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages