-
@Romakita Hey it's me again! I am experimenting Serverless platform but it got me a little confused. I was following https://tsed.io/tutorials/serverless.html#manage-routes-from-code but I couldn't get "Manage routes from code" to work. Do you have a working example? Also, I see that |
Beta Was this translation helpful? Give feedback.
Answered by
Romakita
Nov 23, 2021
Replies: 1 comment 7 replies
-
Hello @alexdonh Add this task on your package.json: "scripts": {
"invoke:any": "serverless invoke local -f any --data '{\"path\":\"/timeslots\", \"httpMethod\": \"GET\"}'"
} See you |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
alexdonh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @alexdonh
I'm sorry, I miss to give a command example to invoke the lambda with a router :/
Add this task on your package.json:
See you