Request failed: unacceptable content-type: text/html using AFNetworking 2.0
This means that your server is sending “text/html” instead of the already supported types. My solution was to add “text/html” to acceptableContentTypes set in AFURLResponseSerialization class. Just search for “acceptableContentTypes” and add @”text/html” to the set manually. Of course, the ideal solution is to change the type sent from the server, but for that you … Read more