Hello,
Previously, when I was using this plugin I had the option to invoke the lambdas that did not include a proper endpoint with an extra generated endpoint that looked like this:
localhost:3000/functions/stack-service-dev-lambda/invocations
Or something close to that.
But now, only lambdas that has an endpoint show up. Why does this happen? Is is an option that I have to activate or something like that?
Thanks in advance.
hey @danielo515 this should still work. which version of this plugin are you using?
you can get some ideas on how to invoke the lambda from our tests: https://github.com/dherault/serverless-offline/tree/master/tests/integration/lambda-invoke
@danielo515 feel free to re-open if this is still an issue.
I'm reopening because it should work with every lambdas
I'm reopening because it should work with every lambdas
does it not? that's what the referenced test case is about. otherwise, do you have a small repro?
I tested it manually, it works fine :) Where exactly is your issue @danielo515 ?
@dnalborczyk Also the replay feature works well!
@dherault I'm thinking what @danielo515 means is that we don't write the end point url to the console anymore. not sure if we should do that again or not, as it might get convoluted. we could keep it in mind and (re-)introduce it though....
@dherault I'm thinking what @danielo515 means is that we don't write the
end point urlto the console anymore. not sure if we should do that again or not, as it might get convoluted. we could keep it in mind and (re-)introduce it though....
Yes, exactly this. So, why not? What is the format used? How do you expect people to discover it ?
Hi! Can we please re-open this one for version 6? my lambdas stopped working

I tried endpoints
Framework Core: 1.66.0
Plugin: 3.5.0
SDK: 2.3.0
Components: 2.22.3
serverless-offline: 6.1.0
You used {apiVersion} in the URL, try using 2015-03-31
It will be documented
it worked, thanks!
In case anyone else needs this, the url path is:
/2015-03-31/functions/{service-name}-{stage}-{function-name}/invocations
I do wish version 6 of serverless-offline still printed this out in the console
Most helpful comment
@dnalborczyk Also the replay feature works well!