In this chapter, we will go through User management in Spring 5 (with Reactive support). We will implement CRUD operations in User management.
Based on HTTP 1.1 specifications, the following are method definitions:
GET
: This method gets the information mentioned in the URI. TheGET
method can be used for single or multiple items.POST
: This method creates the item mentioned in the URI. Generally, thePOST
method will be used for item creation and more secured options. As the parameters are hidden inPOST
, it will be secure compared to theGET
method.DELETE
: This methods deletes the item in the requested URI.PUT
: This method updates the item in the requested URI. According to the HTTP specifications, the server can create the item if the item is not available. However, this will be decided by the developer who designed the application.- Advanced HTTP methods: Though we may not use advanced methods all the time, it will be good to know these methods,...