27 Aug 2013, 08:26
Portrait-robert_pragsmall

Robert Dober (20 posts)

Hi

I could not help noticing that you use /bookmark/new instead of /bookmarks/new.

Is this a choice? I guess it is because you are quite consistent. I am not sure if this is really RESTful. But I am no expert in this, therefore no suggestion on the Errata page.

BTW I really like reading this book - so far ;).

04 Sep 2013, 21:22
Freddy_avatar_pragsmall

Fred Daoud (21 posts)

Hi Robert,

Nice catch! But actually, that was on purpose because the route to /bookmark/new is not RESTful. Rather, it is a request only for getting the HTML form for the user to fill in when creating a bookmark.

Thank you for your kind words, I am glad that you are enjoying the book!

Fred

  You must be logged in to comment