Consider adding content-type: 'application/x-www-form-urlencoded' for every XHR POST request
Reinmar opened this issue · comments
Piotrek Koszuliński commented
Hi,
Now I have to set this header every time I'm doing post request. Prototype for example always (even for get requests) add this header. Thanks to this it works with e.g. PHP's $_POST variable.