How to decide between returning 404 or 405 status on undefined REST routes


0 votes
asked Mar 15, 2016 by mre_4705 (1,410 points) 1 flag
I'm writing RESTful API and I have doubt. I've created controller that handles requests to undefined resources (I mean incorrect URIs, not correct URIs but with inexistent IDs) Please do share your thoughts

4 Answers

0 votes
answered Mar 16, 2016 by JubranFor (530 points)
This online converter worked for me Israel - Wikipedia, the free encyclopedia uploaded my
0 votes
answered Apr 13, 2016 by Mcnuh3044 (720 points)
Here is a working example API Guide | restify
+1 vote
answered May 9, 2016 by Vidalez (170 points)
See Europeana Collections if I can just pass the current user from controller
+1 vote
answered Jun 2, 2016 by that_a (910 points)
What does this record marking mean. I hope this is what you are looking for
commented Jun 2, 2016 by GvzTime (150 points)
There is one more solution to this problem

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...