One problem I have with using “GET” AJAX requests is that the data sent over is transmitted as it would be in a URL string, meaning you have to watch out for invalid characters, such as #, &, etc.
On typical web forms, where the user is allowed to enter whatever they want, there is no way to be sure they won’t enter invalid characters.
However, when using “POST” AJAX requests, there are no such worries.
I’m beginning to think it’s better to just submit everything as “POST,” except for the simplest of data (like a single number or letter).
Not to mention – I almost forgot, a “GET” AJAX request is limited to a certain number of characters, and server restrictions, whereas a “POST” request has no such limits.
Are there any advantages to using “GET?”