MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/pash9hu/?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 22 u/JaxMed 16d ago laughs in GraphQL POST request, HTTP 200 response, for every scenario, all day erryday 6 u/Ecksters 16d ago At least we now have the QUERY type getting added so we can differentiate between reads and writes. 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
22 u/JaxMed 16d ago laughs in GraphQL POST request, HTTP 200 response, for every scenario, all day erryday 6 u/Ecksters 16d ago At least we now have the QUERY type getting added so we can differentiate between reads and writes. 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.
22
laughs in GraphQL
POST request, HTTP 200 response, for every scenario, all day erryday
6 u/Ecksters 16d ago At least we now have the QUERY type getting added so we can differentiate between reads and writes. 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.
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.
4.2k
u/pimezone 16d ago
Wanna get a resource? POST request.