Persisting data using a REST service
Some REST services accept data that we send to them as well, so this data can then be persisted back into a database. In this recipe, we'll make it possible to add, update, or delete a user in the Computer Inventory application where we're working on the User Management.
This recipe builds on the code created in the previous two recipes. If you want to follow along with the steps in this recipe, you can also use the starter solution located in the
Chapter08/ TalkingToSimpleRESTServices_PersistingData_Starter folder in the code bundle available on the Packt website. The finished solution for this recipe can be found in the