AFNetworking3.0 post sends body, server does not receive body

  ios, question

With AFN3.0, send the body to the intranet server post and report an error图片描述

Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: bad request (400)  " UserInfo={com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x7bea8140> { URL: http://192.168.1.188:8080/mapi/index/index.json } { status code: 400, headers {
 Connection = close;
 "Content-Type" = "application/json;  charset=UTF-8";
 Date = "Fri, 05 Feb 2016 03:56:30 GMT";
 Server = "Apache-Coyote/1.1";
 "Transfer-Encoding" = Identity;
 } }, NSErrorFailingURLKey=http://192.168.1.188:8080/mapi/index/index.json, NSLocalizedDescription=Request failed: bad request (400),   com.alamofire.serialization.response.error.data=<7b226865 6164223a 7b22636f 6465223a 302c2262 6d657373 61676522 3a224661 696c7572 6521222c 226d6573 73  616765 223a2220 343034e6 89bee4b8 8de588b0 20e28094 20e69c8d e58aa1e5 99a8e689 bee4b88d e588b0e7 bb99e5ae 9ae79a84 e8b584e6 ba90efbc 9be69687 e6a1a3e4   b88de5ad 98e59ca8 222c2262 636f6465 223a307d 2c226461 7461223a 7b22656d 70747922 3a6e756c 6c7d7d>}

NSAppTransportSecurity for infoplist has been set up.

//Directly adjust this method to post
 [client POST:url
 parameters:bodys
 progress:nil
 success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
 XLog(@ "percent @",responseObject);
 
 } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
 XLog(@ "Percent @",error);
 }];

Has anyone encountered this kind of problem? To find a solution

400 is not a server error?