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.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: