News for hackers. Stuff that matters.
Re:Ask HN: Why would anyone POST anything in AJAX? by jaxn on Saturday April 18, 2009 @04:43PM (#568720)
In addition to request size limits, using the HTTP methods on server side code can simplify code. If I GET a person record then send it down, if I POST a person record then process the passed parameters. With that separation I may find that POST requests do not require sending any data to the client (other than a success indicator). That reduces bandwidth and improves client response time.

I have really grown to appreciate this simplification while working with webpy on AppEngine. I think that my request handlers are about the cleanest they have ever been.

There are no comments on this comment yet.