Which one of the following is true for form data in Node.js ? ? 1 1 point
Fantastic news! We've Found the answer you've been seeking!
Question:
Which one of the following is true for form data in Node.js
point
REQ.BODY contains data submitted using the GET method. REQ.QUERY contains data submitted using POST. You need to require 'bodyparser' for all form data.
The GET method is never used for sending information. Information from the POST method is stored in REQ.QUERY. It is built into Express.
REQ.QUERY contains data submitted using the GET method. REQ.BODY contains data submitted using POST. You need to require 'bodyparser' for handling data in POST requests.
REQ.BODY contains any form data sent, regardless of method. For it to work, you need the 'bodyparser' module.
Related Book For
Measurement Theory In Action
ISBN: 9780367192181
3rd Edition
Authors: Kenneth S Shultz, David Whitney, Michael J Zickar
Posted Date: