I am creating a web service in rails application and I need to configure
routes with respect to “books/book_id/delete” with post method.
But since I will not have a view page for this to create a book item,
testing purpose I am typing the url in the browser as
But now when I type the above url in browser it is taking as GET
and showing error msg as
No route matches [GET] “/books/sherlock/delete”
- Try running rake routes for more information on available routes. *
So how do I configure the routes for the above.