dimanche 4 janvier 2015

Parse.com Analytics not showing


Vote count:

0




I'm trying to connect to Parse.com 's REST-API via NSURLConnection to track AppOpened metadata.


I get 200 OK back from the API and the headers are the same to the cURL headers but my API calls are not being represented in the data browser on Parse.com . Is NSURLConnection doing something silly I don't know of? API response is the same but one request gets represented while the other one isn't.


NSLog output:



<NSHTTPURLResponse: 0x7ff5eb331ca0> { URL: http://ift.tt/1j8nGPM } { status code: 200, headers {
"Access-Control-Allow-Methods" = "*";
"Access-Control-Allow-Origin" = "*";
Connection = "keep-alive";
"Content-Length" = 3;
"Content-Type" = "application/json; charset=utf-8";
Date = "Sun, 04 Jan 2015 22:42:54 GMT";
Server = "nginx/1.6.0";
"X-Parse-Platform" = G1;
"X-Runtime" = "0.019842";
} }


cURL output:



HTTP/1.1 200 OK
Access-Control-Allow-Methods: *
Access-Control-Allow-Origin: *
Content-Type: application/json; charset=utf-8
Date: Sun, 04 Jan 2015 23:03:51 GMT
Server: nginx/1.6.0
X-Parse-Platform: G1
X-Runtime: 0.012325
Content-Length: 3
Connection: keep-alive

{}


It's the same output. What am I doing wrong? Has anyone experience with this?



asked 1 min ago







Parse.com Analytics not showing

Aucun commentaire:

Enregistrer un commentaire