title: How to read a simple string from a POST request in AFNetworking (No JSON)
body: <p>I'm using <code>AFNetworking</code> to communicate with a server through POST that responds with a simple string containing the information I need.  I'm using the following code: </p>
  
  <pre><code>    AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
  [manager POST: MY_URL
     parameters: MY_PARAMETERS
        success:^(AFHTTPRequestOperation *operation, id responseObject) {
          //do something
        }
        failure:^(AFHTTPRequestOperation *operation, NSError *error) {
          //etc.
        }];
  </code></pre>
  
  <p>However, it seems that <code>AFNetworking</code> expects every response to be in JSON format because I get this error when I execute my request: </p>
  
  <blockquote>
    <p>Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be
    completed. (Cocoa error 3840.)" (JSON text did not start with array or
    object and option to allow fragments not set.) UserInfo=0x1566eb00
    {NSDebugDescription=JSON text did not start with array or object and
    option to allow fragments not set.}</p>
  </blockquote>
  
  <p>How can I tell <code>AFNetworking</code> that it's OK that the response is not a JSON object? I've seen something involving <code>AFHTTPClient</code>, but it doesn't seem to be part of <code>AFNetworking</code> anymore.</p>