| 1. |
Should I Use An Http Get Or Post For My Ajax Calls? |
|
Answer» 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 consistent web application ARCHITECTURE. 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 consistent web application architecture. |
|