Dies ist mein api.php-Skript:
Code: Select all
Code: Select all
"Request failed: unacceptable content-type: text/html" UserInfo={AFNetworkingOperationFailingURLResponseErrorKey= { URL: http://........../....../api.php/customers } { status code: 200, headers {
Connection = "keep-alive";
"Content-Encoding" = gzip;
"Content-Type" = "text/html";
Date = "Tue, 29 Dec 2015 11:16:01 GMT";
Server = "nginx/1.8.0";
"Transfer-Encoding" = Identity;
} }, NSLocalizedDescription=Request failed: unacceptable content-type: text/html, NSErrorFailingURLKey=http://........../....../api.php/customers}