title: implementing PUT method of restful web services in javascript
body: <p>I am developing a RESTful web service using NetBeans, GlassFish server and MySQL as the backend. I want to create a RESTful web service client using JavaScript which will consume all services through it. I already have created a client that implements the <code>GET</code>, <code>POST</code> and <code>DELETE</code> methods. However, I'd like to implement the <code>PUT</code> method in JavaScript. </p>