I can't seem to authenticate by making a POST request via ajax! I always get an HTTP 400 error. What could be the issue?
+1
A:
That's Cross Site Scripting, dummy! You can't do that with vanilla JavaScript.
If you really need to use JavaScript, a client library is available.
Stefan Kendall
2009-11-11 02:03:33