Hacker News new | past | comments | ask | show | jobs | submit login

I think the most of these cases can be handled via PUT i.e. update a cart so it contains these items. That way you keep all the state on the client.



That's great unless people want to shop in multiple browser tabs or anything like that. The real solution here is to use the fact that we have POST which is specced as non-idempotent and not depend on the very small set of technologies that purposefully disobeys the spec.




Consider applying for YC's first-ever Fall batch! Applications are open till Aug 27.

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

Search: