Question: 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 a consistent web application architecture. |
Salvar para revisao
Adicione este item aos favoritos, marque-o como dificil ou coloque-o em um conjunto de revisao.
Faca login para salvar favoritos, perguntas dificeis e conjuntos de revisao.
Isto e util? Sim Nao
Mais uteis segundo os usuarios:
- What's AJAX ?
- Is it possible to set session variables from javascript?
- Who's Using Ajax ?
- Did Adaptive Path invent Ajax? Did Google? Did Adaptive Path help build Google's Ajax applications?
- What is the difference between proxied and proxyless calls?