JSON Code3840错误
当在post发送一个数据,返回来得如下错误的时候:
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=XXXXXXXXX {NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}
这个是服务器端的问题,PHP代码的问题,和本地代码没有关系。