AFNetworking 返回错误unsupported media type (415) 解决方案

manager.requestSerializer = [AFJSONRequestSerializer serializer]; // 上传JSON格式
manager.responseSerializer = [AFJSONResponseSerializer serializer];

推荐阅读更多精彩内容