adapte delete to resful
Merge pull request #55 from YanshuoH/yhuang/adapt_delete_restful

adapte delete to resful