I need to pass a search query where I have an array of string Ids and i want to check if these ids exist on server on not. I am most curious about the performance of my server so i want it to use minimum resources
here is the code i am using
myContactIds = NSMutableArray which contains lets say 1000 strings of ids
NSString *queryString = myUrl?=array=NEED_TO_SEND_ARRAY_HERE ;
[Utilities responseFromURL:[NSURL URLWithString:queryString] completionBlock:^(NSString *response, NSError *errorString)
{
[self.myTable reloadData];
[self.indicator stopAnimating];
}];
Firstly how can i pass an array with my url so that it can be read on my PHP server side code Secondly, How can I use that array to query on server side if the database contains the ids and sends back as response, the ids that exists in database
P.S If i can get answer without using any external library its better since i want to learn.