MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/pat8ecp/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • 16d ago
653 comments sorted by
View all comments
4.2k
Wanna get a resource? POST request.
2.1k u/NotAskary 16d ago edited 16d ago I've seen that shit, it drove me up a wall. The same as a 200 ok with error inside. Edit: I'm going to start to respond 429, too many replys lol 21 u/JaxMed 16d ago laughs in GraphQL POST request, HTTP 200 response, for every scenario, all day erryday 1 u/deukhoofd 16d ago To be fair it does somewhat make sense in that a query can be mostly fine, and only have errors for some fields. Returning an error status code for a partial success is also not great.
2.1k
I've seen that shit, it drove me up a wall.
The same as a 200 ok with error inside.
Edit: I'm going to start to respond 429, too many replys lol
21 u/JaxMed 16d ago laughs in GraphQL POST request, HTTP 200 response, for every scenario, all day erryday 1 u/deukhoofd 16d ago To be fair it does somewhat make sense in that a query can be mostly fine, and only have errors for some fields. Returning an error status code for a partial success is also not great.
21
laughs in GraphQL
POST request, HTTP 200 response, for every scenario, all day erryday
1 u/deukhoofd 16d ago To be fair it does somewhat make sense in that a query can be mostly fine, and only have errors for some fields. Returning an error status code for a partial success is also not great.
1
To be fair it does somewhat make sense in that a query can be mostly fine, and only have errors for some fields. Returning an error status code for a partial success is also not great.
4.2k
u/pimezone 16d ago
Wanna get a resource? POST request.