calling multiple apis together in thread , Ios -


is possible call multiple apis in ios?

let me try clarify more example:

consider category, sub-sub category model: url = http://www.example.com parameter = category_id method = post

now root level category pass category_id = 0, return categories : c1,c2,c3,c4,c5,c6

now sub-categories of each of category c1,c2,c3,c4,c5,c6 have pass id in same api 1 one . consider if 1 api call takes 5 seconds 6 api calls take 30 seconds. & in actual have call 600 apis 1 after other categories & sub-categories together. there way save time calling these api ?

i using 2 methods: 1 call api & other receive response. can call apis how differentiate response? cant differentiate response api call?

you need enable server call in pass ids need.

e.g. http://www.example.com/request?categoryids=1,18,44

the server perform look-up itself, in 1 go, , pass category need.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -