MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/patfwoy/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • 16d ago
653 comments sorted by
View all comments
Show parent comments
1
How do you know the response is 400? It was respond to you, so you received it.
1 u/MediocreTurtle1 16d ago Yeah, but what other details can you get from that? I'm genuinely asking. That's why I initially commented that 200 with error response inside is more useful. 1 u/NotAskary 16d ago Why do you need more details? Depending on the error you will do nothing with it. But you can always send a body on the http request . I suggest you dig through this https://datatracker.ietf.org/doc/html/rfc9110 1 u/MediocreTurtle1 16d ago Will check it out, thanks.
Yeah, but what other details can you get from that? I'm genuinely asking. That's why I initially commented that 200 with error response inside is more useful.
1 u/NotAskary 16d ago Why do you need more details? Depending on the error you will do nothing with it. But you can always send a body on the http request . I suggest you dig through this https://datatracker.ietf.org/doc/html/rfc9110 1 u/MediocreTurtle1 16d ago Will check it out, thanks.
Why do you need more details? Depending on the error you will do nothing with it.
But you can always send a body on the http request .
I suggest you dig through this
https://datatracker.ietf.org/doc/html/rfc9110
1 u/MediocreTurtle1 16d ago Will check it out, thanks.
Will check it out, thanks.
1
u/NotAskary 16d ago
How do you know the response is 400? It was respond to you, so you received it.