Y
Hacker News
new
|
ask
|
show
|
jobs
by
hnuser123456
50 days ago
I see you haven't encountered an API where a GET command can modify the database.
5 comments
asa400
50 days ago
Similarly, I once worked somewhere that had an HTTP API that returned status code 200 {“error”: “ok”} to indicate an error occurred.
link
Schiendelman
50 days ago
A lot of GraphQL APIs are like this! They return a 200 just to mean the damn GraphQL is well formed, and the call can totally fail underneath.
link
adithyassekhar
50 days ago
Now why would you make such a monstrosity? Audit logs? I was having good day till now.
link
esafak
50 days ago
I saw a code base where SQL UDFs were used to mutate the data with SELECTs...
link
ditchfieldcaleb
50 days ago
Say what now
link
IshKebab
50 days ago
I have not either. What's your point? AI isn't perfect.
link