Hi,
I am trying to create a Rest web service in my rails application. I need to configure urls for it as below.
***localhost:3000/book/book_id/******new/param1/param2/param3/******param4/…
One should not accept JSON input outside of a API interface built with
REST semantics because then you are just muddying the waters and
enforcing multiple types for something that is probably purely for
HTML and doesn't even need a secondary type. It's a bad idea to
combine your API REST and REST interfaces for HTML into the same
endpoints.