Is a parsing error from the server, when its response can’t be parsed. You can look up the error codes in the CFNetworkErrors reference.
Make sure you set HTTPMethod to POST
More Related Contents:
- Parse JSON with Objective-C
- How to use NSJSONSerialization
- Generate JSON string from NSDictionary in iOS
- afnetworking 3.0 Migration: how to POST with headers and HTTP Body
- iOS: Serialize/Deserialize complex JSON generically from NSObject class
- Post data in Objective C using Json
- How to make POST NSURLRequest with 2 parameters?
- Checking a null value in Objective-C that has been returned from a JSON string
- NSMutableURLRequest timeout interval not taken into consideration for POST requests
- Converting NSString to NSDate gives nil [duplicate]
- Determine device (iPhone, iPod Touch) with iOS
- Should IBOutlets be strong or weak under ARC?
- UIImageView – How to get the file name of the image assigned?
- Types in Objective-C on iOS
- Send POST request using NSURLSession
- Finding IMEI number using Objective-C [duplicate]
- iOS memory allocation – how much memory can be used in an application? [duplicate]
- iOS blocks and strong/weak references to self
- Pod install is staying on “Setting up CocoaPods Master repo”
- What’s the UIScrollView contentInset property for?
- How to set device (UI) orientation programmatically?
- How to set Image in Tabbar not Tint color in ios?
- Stop UIWebView from “bouncing” vertically?
- How to integrate Facebook without redirect Safari browser in iOS app with latest FBSDK
- UIBezierPath Triangle with rounded edges
- Code signing is required for product type Unit Test Bundle in SDK iOS 8.0
- Accessing variables from another ViewController in Swift
- Duplicate Symbol Error in NSManagedObject Subclass
- Unable to run app in Simulator: An error was encountered while running (Domain = LaunchServicesError, Code = 0)
- NSInteger and NSUInteger in a mixed 64bit / 32bit environment