4 ms·
GET requests and web scrapers. Many a DB has been corrupted due to incompetent web devs not understanding http verbs. (In this specific case, it will most like
by sansnomme 7y ago
GET requests and web scrapers. Many a DB has been corrupted due to incompetent web devs not understanding http verbs.
(In this specific case, it will most likely only ruin analytics. However, it's a good habit to use POST when you don't want automated access. E.g. if the social media also didn't implement their end properly and used GET requests for submission, the bot or crawler or whatever will fall through two layers of checks and your social media may be filled with gibberish, this scenario is however mostly theoretical. In general, you don't want a URL can modify state related to your core business logic. See HN's infamous "This Submission Upvotes Itself")
- GordonS 7y agoAh, sorry, I was thinking this was for buttons linking to a company/personal Facebook/Twitter oage - I didn't realise it was about Like/Share buttons. I was discussing this in another HN thread recently and my mind hadn't switched out yet :)