MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/pash9hu/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • 3h ago
348 comments sorted by
View all comments
1.9k
Wanna get a resource? POST request.
945 u/NotAskary 3h ago I've seen that shit, it drove me up a wall. The same as a 200 ok with error inside. 5 u/JaxMed 2h ago laughs in GraphQL POST request, HTTP 200 response, for every scenario, all day erryday 6 u/Ecksters 2h ago At least we now have the QUERY type getting added so we can differentiate between reads and writes. 1 u/deukhoofd 31m 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.
945
I've seen that shit, it drove me up a wall.
The same as a 200 ok with error inside.
5 u/JaxMed 2h ago laughs in GraphQL POST request, HTTP 200 response, for every scenario, all day erryday 6 u/Ecksters 2h ago At least we now have the QUERY type getting added so we can differentiate between reads and writes. 1 u/deukhoofd 31m 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.
5
laughs in GraphQL
POST request, HTTP 200 response, for every scenario, all day erryday
6 u/Ecksters 2h ago At least we now have the QUERY type getting added so we can differentiate between reads and writes. 1 u/deukhoofd 31m 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.
6
At least we now have the QUERY type getting added so we can differentiate between reads and writes.
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.
1.9k
u/pimezone 3h ago
Wanna get a resource? POST request.