проблему можно решить на стороне php
объяснение от microsoft
Цитата:
|
"There is also no way to define what the content is of the entity in a POST request. XDomainRequest fictitiously claims that the content is text/plain even when the requester is sending JSON data or XML data, and there is no way for the JavaScript caller to define the correct content type."
Client and Server, when they communicate, need to have out-of-band protocols to define a mutually agreed upon content type for resource acess.
|