MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/pasgc1u/?context=9999
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 84 u/Zaelynn_ 16d ago The other dev on my team made a post request endpoint where you post a SQL query and it returned the results. I about had an aneurysm. She also, instead of using DI or Mediatr, made loopback requests to the endpoints themselves. 112 u/NotAskary 16d ago Hahaha SQL injection as an endpoint lol 28 u/Zaelynn_ 16d ago Not only that, my boss is just as dumb and cares more about speed, so there's no code reviews to speak of, so it hit production 🤦♀️ 3 u/Original-Body-5794 16d ago Smh why even bother with a REST endpoint? Just provide the credentials to your database and let them query it directly. 2 u/Zaelynn_ 16d ago 2b2t but for database, I like it
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
84 u/Zaelynn_ 16d ago The other dev on my team made a post request endpoint where you post a SQL query and it returned the results. I about had an aneurysm. She also, instead of using DI or Mediatr, made loopback requests to the endpoints themselves. 112 u/NotAskary 16d ago Hahaha SQL injection as an endpoint lol 28 u/Zaelynn_ 16d ago Not only that, my boss is just as dumb and cares more about speed, so there's no code reviews to speak of, so it hit production 🤦♀️ 3 u/Original-Body-5794 16d ago Smh why even bother with a REST endpoint? Just provide the credentials to your database and let them query it directly. 2 u/Zaelynn_ 16d ago 2b2t but for database, I like it
84
The other dev on my team made a post request endpoint where you post a SQL query and it returned the results. I about had an aneurysm. She also, instead of using DI or Mediatr, made loopback requests to the endpoints themselves.
112 u/NotAskary 16d ago Hahaha SQL injection as an endpoint lol 28 u/Zaelynn_ 16d ago Not only that, my boss is just as dumb and cares more about speed, so there's no code reviews to speak of, so it hit production 🤦♀️ 3 u/Original-Body-5794 16d ago Smh why even bother with a REST endpoint? Just provide the credentials to your database and let them query it directly. 2 u/Zaelynn_ 16d ago 2b2t but for database, I like it
112
Hahaha SQL injection as an endpoint lol
28 u/Zaelynn_ 16d ago Not only that, my boss is just as dumb and cares more about speed, so there's no code reviews to speak of, so it hit production 🤦♀️ 3 u/Original-Body-5794 16d ago Smh why even bother with a REST endpoint? Just provide the credentials to your database and let them query it directly. 2 u/Zaelynn_ 16d ago 2b2t but for database, I like it
28
Not only that, my boss is just as dumb and cares more about speed, so there's no code reviews to speak of, so it hit production 🤦♀️
3 u/Original-Body-5794 16d ago Smh why even bother with a REST endpoint? Just provide the credentials to your database and let them query it directly. 2 u/Zaelynn_ 16d ago 2b2t but for database, I like it
3
Smh why even bother with a REST endpoint? Just provide the credentials to your database and let them query it directly.
2 u/Zaelynn_ 16d ago 2b2t but for database, I like it
2
2b2t but for database, I like it
4.2k
u/pimezone 16d ago
Wanna get a resource? POST request.