Explore Courses Blog Tutorials Interview Questions
0 votes
in AWS by (19.1k points)
How do you access an Amazon SNS post body with Express/Node.js?

1 Answer

0 votes
by (119k points)

Here is how you can access an AWS SNS post body with Express/Node.js assuming that you're using body-parser.

Just add the following lines to your app.js:


app.use(bodyParser.text({ type: 'text/plain' }));

Related questions

0 votes
1 answer

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer

Browse Categories