What's the difference between GET and POST AJAX requests? I've always done GET requests regardless, but I think I should probably look into it .The first question is if GET can be used for passwords. I know that it's generally considered best practice to use POST for password forms, but isn't this a bit different? Or am I wrong?
___________________________
keyword research ~ keyword tool ~ keyword tracking ~ affiliate elite
POST AJAX requests
GET data usually gets logged in the access logs, where as POST data won't.
You can hand out URL's that include GET data, but not POST data.
POST data is also used for uploading binary data.
So I would say that you should always use POST data for private/sensitive stuff or for forms, but GET is fine for everything else.
You can hand out URL's that include GET data, but not POST data.
POST data is also used for uploading binary data.
So I would say that you should always use POST data for private/sensitive stuff or for forms, but GET is fine for everything else.
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO
Do not feed the spam bots!Pada wrote:GET data usually gets logged in the access logs, where as POST data won't.
You can hand out URL's that include GET data, but not POST data.
POST data is also used for uploading binary data.
So I would say that you should always use POST data for private/sensitive stuff or for forms, but GET is fine for everything else.
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel