Using React.js
and Serverless
and AWS s3
and Mac Mojave
The things that I have tried:
- I tried using
serverless invoke local --function login --data '{"username":"stack2019"}'
which actually work fine - I tried using
serverless invoke local --function requestUploadURL --data '{"image":"path/docs/image.jpg"}'
that doesn’t work
It doesn’t show how to handle image uploads. Or maybe its there but I don’t understand it.
The goal here is to avoid going to Cloud Watch logs. I want to see the errors in my terminal.