//Update data[PUT] using Java Web Service and jQuery Ajax

Update data[PUT] using Java Web Service and jQuery Ajax

Hi guys, Bushan here, Welcome back to B2 Tech! Today in this article I will show you how to make PUT request using Java web service and jQuery Ajax, so let’s get started. In our previous blog post, we have discussed the DELETE request, I will make use of the same application to perform the PUT request.



This is the application that we have created in our previous blog post. I will make use of this application to achieve the PUT request.

The first step is to add an UPDATE button just before the DELETE button.
The second step is to make a PUT request on click of ADD BOOK button.



I have already created the respective java web service to make a PUT request.




Let’s see how to use these endpoints in our application.



 jQueryAjax.html

Download the file from below link,



jQuery ajax complete CRUD example  Download

That’s it for this article, I hope you learned something. Feel free to comment in the comment section about this post, I will see you in the next post.

Well, I am Bushan Sirgur from Banglore, India. Currently, I am working as a Software Developer in a Service Base Company. I am interested in JAVA/J2EE, Angular 2, JavaScript, jQuery, MongoDB.