Hacker Newsnew | past | comments | ask | show | jobs | submit | avoidwork's commentslogin

Hi,

Yes, it matters. You're misusing POST in the first example.

C = POST R = GET U = PUT/PATCH D = DELETE

Doing anything else is an anti-pattern for interop on the web.


Usage of POST to update is so common, I don't think it's unreasonable to say it's a de-facto standard. Sort of like how if an English word/phrase is misused enough, the "wrong" version eventually makes it into dictionaries.


This is the first time I hear that usage of POST to update is common.

Around me I cannot name one backend developer who will design an API with POST used for update. We did it in the past when browsers where not implementing PUT or PATCH but still sending method=PUT/PATCH as param.

Of course this is my experience and I might be in a bubble.


It doesn't really matter though.

If you misuse POST nobody and nothing is going to care. Literally every traditional web application, including this very site, "misuses" POST all the time.


I often really like "anti-patterns."

They're usually a case of a ["desire path"](https://miro.medium.com/max/2592/0%2AD1R7QvewXmwUVytD.)

Typically, it says more to me about the designer than the users.


centralized vs distributed; it's an outdated straw man. microsoft is ironically a proprietor the problems you get from misusing web tech in a centralized app (ie).


My immediate response was also "No! Airpod Max shouldn't be compared to most popular ANC headphones, they need to be compared to wired Focal or Hifiman!".


But is not what is written.



This is the worst fan fiction I've read in awhile.

>4% of the USA has been infected; you're not getting herd immunity... you never were going to get it. it would kill your population before that could happen.


Do you have any numbers stating otherwise? Because those are the official numbers...


https://www.google.com/search?q=covid+19+deaths+worldwide

it's very easy to cherry pick a chart that supports a statement, but if you consider infection rate, death rate, lack of support infra, etc., there is no chance herd immunity would work.

You'd have to ignore the cascade through the population. It really doesn't help that a large portion of the population thinks it's a lie.


can confirm. i've also found really odd bottlenecks with hyperv virtual switches (even with "for workstation" sku with a 3970x). i now have a proxmox ve machine for all local non-windows needs on an i7 nuc.


are you for real? look at how people respond to sports teams winning. people have been murdered by police officers and you can't ignore it anymore.


Keep learning. Customers don't care if something adheres to SRP or not, they just want the output - if it works (good enough) you might get repeat business.


azure vms with accelerated networking



I meant server side, not client side. I can also install browser plugins, but that does not help.


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: