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

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -