How to get post data in node.js?



How to get post data in node.js?..

Answer / Bharat Babu Agrawal

You can use the built-in 'body-parser' module or the 'express' library to parse POST data in Node.js.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Node.js Interview Questions

What is a Callback function in Node.js?

1 Answers  


How to create an Http server using Express?

1 Answers  


How we can convert Buffer to JSON?

1 Answers  


What are global variables in node.js?

1 Answers  


What is module?

1 Answers  


How you can update NPM to new version in Node.js?

1 Answers  


What is the use of node_env?

1 Answers  


What is a callback hell?

1 Answers  


What do you understand by an event emitter in node.js?

1 Answers  


How do you get information of a file using node.js?

1 Answers  


Explain the process to implement test pyramid in terms of http apis.

1 Answers  


What is require in Node.js? How will you load external files and libraries in Node.js?

1 Answers  


Categories