Sunday, 11 June 2017

clean REST routes

i´m not sure about my REST naming.

I have 3 routes:

GET and DELETE and PUT /book/:bookId/translation/:translationId

But how about the naming for the POST route?

Should it better be /book/:bookId or /book/:bookId/translation

Thanks´s a lot for your feedback!



via eragon-2006

No comments:

Post a Comment