I am trying to develop a RESTful Sinatra application. Now, I know how to respond to a delete request with something like
delete \'/user/:id\' do |id| #do some
Another way is to use Curl:
curl -X DELETE http://host/user/1