I think this may be the problem ..
JSON that have array response will be [x, x, x, x, x]..
But your json is data([x, x, x, x, x]); That's why you are not getting correct response in jsonserialization.
NSArray *response = [NSJSONSerialization JSONObjectWithData:responseData options:kNilOptions error:&error];
JSON that have dictionary response will be {key=data, key=data, key=data}
NSDictionary *response = [NSJSONSerialization JSONObjectWithData:responseData options:kNilOptions error:&error];
Your json gets the following error when you try to convert
(JSON text did not start with array or object and option to allow fragments not set.)
Your json not meets both the format. Can you please check it and try