Click here to Skip to main content
15,913,722 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
OriginalGriff20-Feb-18 20:30
mveOriginalGriff20-Feb-18 20:30 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Sander Rossel20-Feb-18 21:47
professionalSander Rossel20-Feb-18 21:47 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
W Balboos, GHB22-Feb-18 7:26
W Balboos, GHB22-Feb-18 7:26 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Kornfeld Eliyahu Peter20-Feb-18 20:37
professionalKornfeld Eliyahu Peter20-Feb-18 20:37 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
lmoelleb20-Feb-18 20:45
lmoelleb20-Feb-18 20:45 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Sander Rossel20-Feb-18 21:51
professionalSander Rossel20-Feb-18 21:51 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
lmoelleb20-Feb-18 21:57
lmoelleb20-Feb-18 21:57 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
GuyThiebaut20-Feb-18 21:07
professionalGuyThiebaut20-Feb-18 21:07 
Tomato tamata...

I think it all comes down to the protocol that has been agreed upon between the consumer and provider so to speak.
If you use Swagger you can document this for the consumers - so in the end I don't think it matters too much.

Personally I would return a 200 with some info in the body.
That said, a 404 can be useful for blocking hacking attempts as it gives hackers the impression that the endpoint does not exist.

Tomato tamata...
“That which can be asserted without evidence, can be dismissed without evidence.”

― Christopher Hitchens

GeneralRe: Question on 404 (not technical, I just want opinions) Pin
GKP199220-Feb-18 21:11
professionalGKP199220-Feb-18 21:11 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Jörgen Andersson20-Feb-18 22:03
professionalJörgen Andersson20-Feb-18 22:03 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
F-ES Sitecore20-Feb-18 22:45
professionalF-ES Sitecore20-Feb-18 22:45 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Sander Rossel20-Feb-18 23:59
professionalSander Rossel20-Feb-18 23:59 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
MadMyche21-Feb-18 4:59
professionalMadMyche21-Feb-18 4:59 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
11917640 Member 20-Feb-18 23:10
11917640 Member 20-Feb-18 23:10 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Sander Rossel21-Feb-18 0:00
professionalSander Rossel21-Feb-18 0:00 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
11917640 Member 21-Feb-18 1:50
11917640 Member 21-Feb-18 1:50 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Sander Rossel21-Feb-18 8:37
professionalSander Rossel21-Feb-18 8:37 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
John Bevan21-Feb-18 21:25
John Bevan21-Feb-18 21:25 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
11917640 Member 24-Feb-18 19:10
11917640 Member 24-Feb-18 19:10 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Chris Maunder21-Feb-18 1:02
cofounderChris Maunder21-Feb-18 1:02 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
MadMyche21-Feb-18 4:46
professionalMadMyche21-Feb-18 4:46 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Sander Rossel21-Feb-18 8:35
professionalSander Rossel21-Feb-18 8:35 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Bajaja21-Feb-18 20:53
professionalBajaja21-Feb-18 20:53 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
John Bevan21-Feb-18 21:19
John Bevan21-Feb-18 21:19 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
maze321-Feb-18 23:27
professionalmaze321-Feb-18 23:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.