Click here to Skip to main content
15,896,450 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
maze321-Feb-18 23:27
professionalmaze321-Feb-18 23:27 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
ScottM121-Feb-18 23:58
ScottM121-Feb-18 23:58 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Peter Shaw21-Feb-18 23:58
professionalPeter Shaw21-Feb-18 23:58 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Greg Bair22-Feb-18 2:26
professionalGreg Bair22-Feb-18 2:26 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Bruce Patin22-Feb-18 3:41
Bruce Patin22-Feb-18 3:41 
AnswerRe: Question on 404 (not technical, I just want opinions) Pin
DaveArel22-Feb-18 4:35
DaveArel22-Feb-18 4:35 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Dar Brett22-Feb-18 4:50
Dar Brett22-Feb-18 4:50 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Kirk 1038982122-Feb-18 8:50
Kirk 1038982122-Feb-18 8:50 
Reading the definition of a 404:
The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.

It literally says the RESOURCE, which I assume is what you are looking for, cannot be found.

I see how it could be confused with a MALFORMED request: "site/admn/XXX" instead of "site/admin/XXX"

But that should be RARE when implementing an API. And it has to be debugged.

I do not see an appropriate code to return otherwise.

Now, when we deal with a call to returns no data. We literally return 0 rows of data (I just checked).

And yes, the code is cleaner. A 404 starts to imply there is a SERVICE issue.

Hmmm, now it boils down to whether this is an EXCEPTION or not. In our API, ZERO results is NOT an exception.
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
jschell23-Feb-18 12:50
jschell23-Feb-18 12:50 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Dimitrios Kalemis25-Feb-18 2:14
Dimitrios Kalemis25-Feb-18 2:14 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
RandyBuchholz27-Feb-18 11:05
RandyBuchholz27-Feb-18 11:05 
GeneralQuestion For The Brits Out There Pin
Kevin Marois20-Feb-18 8:29
professionalKevin Marois20-Feb-18 8:29 
GeneralRe: Question For The Brits Out There PinPopular
CodeWraith20-Feb-18 8:44
CodeWraith20-Feb-18 8:44 
GeneralRe: Question For The Brits Out There PinPopular
DRHuff20-Feb-18 9:12
DRHuff20-Feb-18 9:12 
GeneralRe: Question For The Brits Out There Pin
den2k8820-Feb-18 21:46
professionalden2k8820-Feb-18 21:46 
GeneralRe: Question For The Brits Out There Pin
A_Griffin20-Feb-18 8:46
A_Griffin20-Feb-18 8:46 
GeneralRe: Question For The Brits Out There Pin
Slacker00720-Feb-18 9:16
professionalSlacker00720-Feb-18 9:16 
GeneralRe: Question For The Brits Out There Pin
k505420-Feb-18 10:50
mvek505420-Feb-18 10:50 
GeneralRe: Question For The Brits Out There Pin
A_Griffin20-Feb-18 12:06
A_Griffin20-Feb-18 12:06 
GeneralRe: Question For The Brits Out There Pin
k505420-Feb-18 12:50
mvek505420-Feb-18 12:50 
GeneralRe: Question For The Brits Out There Pin
W Balboos, GHB22-Feb-18 7:30
W Balboos, GHB22-Feb-18 7:30 
GeneralRe: Question For The Brits Out There Pin
Richard MacCutchan20-Feb-18 9:12
mveRichard MacCutchan20-Feb-18 9:12 
GeneralRe: Question For The Brits Out There Pin
NoNotThatBob20-Feb-18 9:13
NoNotThatBob20-Feb-18 9:13 
GeneralRe: Question For The Brits Out There Pin
R. Giskard Reventlov20-Feb-18 9:46
R. Giskard Reventlov20-Feb-18 9:46 
GeneralRe: Question For The Brits Out There Pin
Kevin Marois20-Feb-18 9:53
professionalKevin Marois20-Feb-18 9:53 

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.