:wave: hi there, just checking if what i'm seeing ...
# sst
k
👋 hi there, just checking if what i'm seeing is a bug. I'm using the console for testing an API endpoint, but the lambda was getting empty events. After hitting the API endpoint directly through the browser, then i started getting the proper events when testing in the console. Currently using sst version 0.65.6.
before
after hitting the browser
t
How were you triggering it before?
k
just thorugh the console -> Functions
t
if you're hitting the invoke button there's no way for the console to figure out what the payload should be
you have to specify the payload
Hitting it through the api endpoint is correct, we'll be releasing an API explorer like Postman sometimes in the following weeks
k
ohh got it, i guess i got a bit confused. I hadn't seen you can specify the payload there
thank you @thdxr