{"action":"opened","issue":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/917","repository_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX","labels_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/917/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/917/comments","events_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/917/events","html_url":"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/917","id":153696798,"number":917,"title":"iOS objects not being saved and returning success = true and error =nil","user":{"login":"monoelectrico","id":16416924,"avatar_url":"https://avatars.githubusercontent.com/u/16416924?v=3","gravatar_id":"","url":"https://api.github.com/users/monoelectrico","html_url":"https://github.com/monoelectrico","followers_url":"https://api.github.com/users/monoelectrico/followers","following_url":"https://api.github.com/users/monoelectrico/following{/other_user}","gists_url":"https://api.github.com/users/monoelectrico/gists{/gist_id}","starred_url":"https://api.github.com/users/monoelectrico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monoelectrico/subscriptions","organizations_url":"https://api.github.com/users/monoelectrico/orgs","repos_url":"https://api.github.com/users/monoelectrico/repos","events_url":"https://api.github.com/users/monoelectrico/events{/privacy}","received_events_url":"https://api.github.com/users/monoelectrico/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-09T03:23:54Z","updated_at":"2016-05-09T03:23:54Z","closed_at":null,"body":"Hey guys,\r\nIm trying to save a new object using this piece of code:\r\n        let order = PFObject(className:\"Order\")\r\n        order[\"name\"] = receptorName\r\n        order[\"phone\"] = phone\r\n        order[\"order\"] = cart\r\n        order[\"address\"] = address\r\n        order[\"liquorStore\"] = shop\r\n        order.saveInBackgroundWithBlock {\r\n            (success: Bool, error: NSError?) -> Void in\r\n            self.loadingCircle.stopAnimating()\r\n            if (success) {\r\n                print(error)\r\n               print(\"order succesful\" ) // The object has been saved.\r\n                \r\n            } else {\r\n                print(\"order unsuccesful\")\r\n                print(error)\r\n            }\r\n        }\r\n\r\nIm receiving a success = true and error = nil but no object is being saved in my server. I´ve checked my server log and it´s weird because that code is producing the following log:\r\n186.105.98.2 - - [09/May/2016:02:34:25 +0000] \"GET /classes/Order HTTP/1.1\" 200 1081 \"-\" \"pree/1 CFNetwork/758.3.15 Darwin/15.4.0\"\r\n\r\nWhich is a GET!! Why would my server receive a GET request when Im trying to save a new object? Shouldn´t it be a POST? I think there might be a bug in the SDK.\r\n\r\nI´ve tried this with 2 different projects and in both Im having the same issue. BTW Im using back4app.com but I don´t think that has anything to do with my app sending a GET request. \r\n\r\nHopefully you guys can help me out :)"}}