This sample simulates REST web services, by using exotic HTTP methods and by writing raw data in the HTTP request body. If you have a debugger such as Firebug or Chrome's inspector, that's time to open it to see what's going on here.