ios - Azure Mobile Service Api custom call returning empty byte array -
i have mobile service custom controller returning rows db xml. calling localhost:xxx/api/getsomrows returns data, part ok.
[self.client invokeapi:@"getsomerows" body:nil httpmethod:@"get" parameters:@{@"id":item} // sent query-string parameters headers:nil completion:^(nsdata *result, nsurlresponse *response, nserror *error) { nslog(@"result: %d", [result count]); }];
returning single int or string value works using "id result" return type, when im returning 2 or more objects byte array right number of rows without data totally empty. ive tried result type nsdata* , nsobject, nsstring
turn out empty.
any ideas?
Comments
Post a Comment