Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Ajax HTTP GET or POST for my AJAX call
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


samar
HTTP GET or POST for my AJAX call
1 Answer(s)      4 years and 2 months ago
Posted in : Ajax


hello,

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


Advertisement
View Answers

October 25, 2010 at 3:36 PM


Hii,

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 Tutorials/Questions & Answers:
HTTP GET or POST for my AJAX call
HTTP GET or POST for my AJAX call  hello, Should I use an HTTP GET or POST for my AJAX calls?   Hii, AJAX requests should use an HTTP... request URL. An HTTP POST should be used when state is updated on the server
GET and POST Method of HTTP
GET  and POST Method of HTTP       GET The Get is one the simplest Http method. Its main job... it by using the post method.  There are few more rarely used http methods
Advertisements
post get
post get  what is ajax
HTTP_POST_VARS is deprecated
HTTP_POST_VARS is deprecated  HTTPPOSTVARS is deprecated. Which function to be used? Thanks   Hi, You should use: $id=$_GET["id"]; or $id=$_POST["id"]; thanks
HTTP Post PHP
HTTP Post PHP  HTTP post method example in PHP
post get
post get  what is post and get
get and post
get and post  what is php and get   PHP get and post method
POST or GET
POST or GET  hello, Which will execute faster on php POST or GET?   hii, The POST metod is much more faster then GET ..because in GET... to ULR that's why POST is faster then GET method
https call in AJAX - Ajax
https call in AJAX  Hi, I am trying to call a https URL in my AJAX script which is in my JSP. But it is not getting the reponse from the url i..., Please visit the following links: http://www.roseindia.net/jsp/pop
Ajax post example
Ajax post example  Hi, I am looking for ajax post example. Thanks   Hi, You can use jQuery to jQuery Post Data. Thanks
Difference between GET and POST
Difference between GET and POST   Difference between GET and POST ?   The difference between a GET and a POST is the way data... this: http://www.roseindia.net/jsp?para1=paraValue With a POST, this information
post ,get data in the database
post ,get data in the database  post ,get data in the database  Please visit the following links: PHP get post data PHP Tutorials
GET and POST methods
GET and POST methods   What are the differences between GET and POST methods in form submitting, give the case where we can use GET and we can use POST methods
what is an ajax call?
what is an ajax call?  can u please explain the correct usage of an ajax call in jsps and java script.   hi friend, Ajax is new technologies for the development of web application. Ajax is known as Asynchronous
what is an ajax call?
what is an ajax call?  can u please explain the correct usage of an ajax call in jsps and java script
POST AND GET METHOD - JSP-Servlet
POST AND GET METHOD  I AM LITTLE BIT CONFUSED IN GET() AND POST...://www.roseindia.net/jsp/how-work-post.shtml http://www.roseindia.net/html/html-get..., Please visit the following links: http://www.roseindia.net/jsp
HTML form methods GET and POST
HTML form methods GET and POST  What is the difference between the HTML form methods GET and POST
Java Servlet : Difference between GET and POST
Java Servlet : Difference between GET and POST In this section, we  will differentiate the GET and POST method of servlet. GET - It is HTTP method, asks to get thing at the requested URL. POST - It is HTTP method, asks
differences between GET and POST methods in form submit
differences between GET and POST methods in form submit  What are the differences between GET and POST methods in form submitting, give the case where we can use GET and we can use POST methods
Addition to my previous post - Java Beginners
Addition to my previous post  Addition to my previous question about the address book program. I need to have separate classes: CmdLineAddressBook.java AddressBook.java Contact.java Address.java Name.java
What is the difference between GET and POST method?
What is the difference between GET and POST method?  In PHP, both GET and POST method serves the same feature to get the data in variable. Still... it in detail with the case where we can use GET and POST method in PHP.   
php $_GET and $_POST functions
php $_GET and $_POST functions:       PHP provides two special functions called $_GET & $_POST, this functions... $_ POST, $_GET has few limitations like it can send about 100 words of data at a time
database call from javaScript - Ajax
database call from javaScript  Dear All, In my project i have one... name. and i have to do this in javascript.How do i call database query ,if suppose i have selected two building from text area,i have to finish
how to display jsp page containing mysql query in particular division using ajax ?my code is below bt i cundt get it properly
ajax ?my code is below bt i cundt get it properly   index.html <...; <title></title> <meta http-equiv="Content-Type... request; // The variable that makes Ajax possible! try{ // Opera 8.0
jQuery ajax get example
jQuery ajax get example  Hi, How I can use jQuery for get request? Give me code for jQuery ajax get request. Thanks
Retrieve HTTP Request Headers using JSP
the request headers. When a HTTP client sends a request, it is required to supply GET or POST. It can send a number of headers. Here are some headers:    ... Retrieve HTTP Request Headers using JSP   
getting null value in action from ajax call
getting null value in action from ajax call  Getting null value from ajax call in action (FirstList.java)... first list is loading correctly. Need..." "http://www.w3.org/TR/html4/loose.dtd"> <%@taglib uri="/struts-tags" prefix
getting null value in action from ajax call
getting null value in action from ajax call  Getting null value from ajax call in action (FirstList.java)... first list is loading correctly. Need..." "http://www.w3.org/TR/html4/loose.dtd"> <%@taglib uri="/struts-tags" prefix
getting null value in action from ajax call
getting null value in action from ajax call  Getting null value from ajax call in action (FirstList.java)... first list is loading correctly. Need..." "http://www.w3.org/TR/html4/loose.dtd"> <%@taglib uri="/struts-tags" prefix
post
post method in PHP  Write an example of the post method in PHP to send the data to another page or simply update the database.   in post values in the url will be hidden   in post   post
post
post  what is post   vxvxcvxcv   Please visit the following link: Post in PHP
Advertisements
 

 

 

DMCA.com