No payload in response for a POST request

I’m playing with the “aws-node-rest-api-with-dynamodb-and-offline” and the “aws-node-rest-api-with-dynamodb” example.

On a POST request, I’m wondering why I don’t get any payload or body back (just the 200 http status code) although in the lambda function one can find:
const response = { statusCode: 200, body: JSON.stringify(result.Item) };
callback(null, response);

Found It: dynamodb.put doesn’t return any result.

1 Like