AFNetworking How to send a string of post request?
//restrinBASE64STRING is a NSString ,Program error [manager POST:URLString parameters:restrinBASE64STRING success:^(AFHTTPRequestOperation *operation, id responseObject) { } failure:^(AFHTTPRequestOperation *operation, NSError *error) { }];
application/x-www-form-urlencodedrequest of the formkey1=value1&key2=value2. It can easily use a different request serializer in order to send JSON requests, too. Theparametersshould not be a simple string. It's not clear, though, in what format your server needs this base64 string. In whatContent-Typeis your server expecting the request to be? It would be very unusual for it to expect base64 string by itself.POST, but rather you'd probably create your ownAFHTTPRequestOperationobject. But before we go down that road, it probably makes sense to confirm that your server is really expecting such a curious format for thePOSTrequest.