haseebnqureshi / serverless-hq

Serverless made quick & easy. This is your home base for quick & powerfully easy scaffolding for your next Serverless project.
MIT License
10 stars 2 forks source link

Add status into responseBody for easyRespond #5

Closed haseebnqureshi closed 7 years ago

haseebnqureshi commented 7 years ago

Clients should be using statusCode, but HTTP protocols are a little skewed, so it'd be nice to see another parameter, simply "status" -- which of course would mirror statusCode.