AFNetworking 报错 Request failed: unacceptable content-type: text/html

AFNetworking 报错 Request failed: unacceptable content-type: text/html


添加 

AFHTTPRequestOperationManager *mgr = [AFHTTPRequestOperationManager manager];

    mgr.responseSerializer = [AFHTTPResponseSerializer serializer];

你可能感兴趣的:(AFNetworking 报错 Request failed: unacceptable content-type: text/html)