Programming Languages
AJAX
Subjective
Apr 03, 2013
Which request is better with AJAX, Get or Post?
Detailed Explanation
AJAX requests should use an HTTP GET request while retrieving data where the data does not change for a given URL requested. An HTTP POST should be used when state is updated on the server. This is in line with HTTP idempotency recommendations and is highly recommended for a consistent web application architecture.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts