GET vs POST
GET vs POST
I always believed that the difference between using GET and POST to submit data was that POST sent it as like an attachment to the HTTP header (like a file attached to an email) and GET put it on the end of the URL and used command characters so separate it from the rest of the URL and to separate key > value pairs.
this meant that with GET the data could not contain characters used as command characters such as ? = and &
also GET had a data limit.
this means that GET can be used to attach data to hyperlinks.
However AJAX can be sent via GET as well but this would not go through a URL
so
what exactly is GET
when AJAX uses GET are the ? = and & characters a problem
and when AJAX used GET is there a data limit