Express GET AND POST Method PDF

Title Express GET AND POST Method
Author Hanneka Rose Puri
Course Information Technology
Institution Holy Angel University
Pages 1
File Size 34.1 KB
File Type PDF
Total Downloads 97
Total Views 131

Summary

Lecture in Express GET and POST Method...


Description

1. Explain on what is Express. and that

Express is a Node.js web application framework that makes it much easier cleaner to create sophisticated APIs and web servers. It's a small package doesn't hide any of Node.js' basic functionality. In addition, Express is a Node.js web application framework that offers a comprehensive range of functionality for both web and mobile apps.

2. What is the role of Request and Response in creating routes in Express? The object req contains details about the HTTP request that triggered the event. You use res to send back the desired HTTP response in response to req. 3. Discuss the difference of GET and POST method The GET method appends form data to the URL in the form of a name or value pair. The length of the URL will be limited if you use GET. It assists users in submitting the bookmark result. GET is better for data that does not require security or the inclusion of graphics or word documents. POST, on the other hand, is an HTTP method that indicates that a web server accepts the data contained in the message's body. The World Wide Web frequently uses POST to deliver user-generated data to the web server or to upload files....


Similar Free PDFs