From the course: Java EE: Servlets and JavaServer Pages (JSP)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
POST request basics
From the course: Java EE: Servlets and JavaServer Pages (JSP)
POST request basics
- [Instructor] Now let's take a look at the POST request. Of course it's another HTTP request type and POST is used to POST or process or manipulate information on the server site. So when you make a request from the client to the server, the server is going to process that information and give you a response back. Typically, POST is used to modify data into a data store. Now that data store be an xfile, or it could be an XML file, or for that matter, it could even be a database. And when we say modify data, it means you either want to insert or record or you want to edit it or you want to delete it, all of these qualify as modified data used cases. So all the surfing that you guys do on a daily basis like registering yourself as a new user on a website or checking out a shopping cart, all of these are very typical use cases for the POST request. The data that you send along in a POST request is always going to be in a separate component, which is called payload of the request object,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.