On Wednesday, 16 April 2014 04:05:29 UTC-5, prabhu wrote:
>
>
>
> Hi,
>
> 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, for 
> testing purpose I am typing the url in the browser as 
>
> *    localhost:3000/books/book_id/delete*
>
> But now when I type the above url in browser it is taking as *GET*request and 
> showing error msg as
>
> *Routing Error* 
>
> *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.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/003008ce-4ada-410b-b42e-9489f03acc8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to