Developing REST web-services using Ptc-Thingworx PTC product Thingworx allows creation of REST services with the exception of GET and DELETE http methods. However, it can be achieved using one simple trick. Servlet Filters can do the trick here. In order to support GET, PUT, POST, DELETE http methods, one has to implement a Filter in the java web application project, and then override certain methods. For instance, an incoming GET/DELETE request from any client (eg-chrome,Postman) can be converted into a POST request in a Servlet Filter. Since, Thingworx understands either POST/PUT request, the filter will transform the incoming GET request into a POST request. Hence, Filter can be used to support the creation of GET/DELETE http methods. For more detailed information, please leave a comment. =============== Happy Coding ===============
A technical blog meant for IT professionals..