Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

Welcome, Guest
Username Password: Remember me

HTTP Get or Post
(1 viewing) (1) Guest
All your queries regarding AJAX will be solved in this forum.
  • Page:
  • 1
TOPIC:

HTTP Get or Post

HTTP Get or Post 11 months ago #647

  • avan12
  • OFFLINE
  • Junior Boarder
  • Posts: 35
  • Karma: 0
Hi,

I am new to AJAX.

I want to know should I use an HTTP GET or POST for my AJAX calls?

Re: HTTP Get or Post 10 months, 4 weeks ago #652

  • andrew
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
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.
  • Page:
  • 1
Time to create page: 3.94 seconds
OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download