I am new to amazon s3 and am trying to use node.js to upload JSON into a file. My object is users
, and it has a bunch of keys and values in it. Here is how I'm uploading it:
s3.putObject({Bucket: 'currenteventstest',Key: 'users.json',Body: users, ContentType: "application/json"});
However, when I re download it, it's just an empty object.