I’ve read that you should not use GET requests if you are modifying the database. How would you record analytics about your website then?
For example, I want to record page views whenever someone visits a page. I would need to update ‘views = views + 1’ in the database. Is this OK despite using a GET request or is there another technique? Surely not every request should be a POST request.
Aucun commentaire:
Enregistrer un commentaire