I send JSON response via AFNetworking from server to my app request. Also it's one script on server (php) and one DB (MySQL).
When I make requests to different tables (within the same DB) - comes valid response (JSON), but from only one table comes "image/jpeg" (afnetworking says me that) ... although the content-type on the server is correctly configured (header('Content-Type: application/json; charset=utf-8');
in .php).
What could be the problem? Applied to a support - said they sent the correct headers (JSON)...why then AFNetworking sees the header image/jpeg?
ADDED SCREENSHOT OF CHROME DEV TOOL (correct json here):
But AFNetworking says: