Should I use an HTTP GET or POST for my AJAX calls?

January 16, 2008 · Filed Under AJAX Interview Questions, Placement Questions 



Don't want to miss a single bit? Subscribe By Email for Daily Jobs

Enter your email address :

All the latest from JobsAdda on Jobsadda.com delivered to your mailbox everyday.

AJAX requests should use an HTTP GET request when retrieving data where the data will not change for a given request URL. 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

Related Articles


Get Latest JobsAdda.com Jobs, news & updates  via Email