How to get all terms with services module? I am working on an app (react native) and when i make a request to get the taxonomy terms i don't get all the terms 

This is the url i used to get the terms:

http://example.io/api/taxonomy_term?parameters[vid]=2&amp;pagesize=1000

But when I go to the url from my browser i get the full list of terms!

Here is my fetch code:

fetch('http://dev-fnyan.pantheonsite.io/api/taxonomy_term?parameters[vid]=3&amp;pagesize=500').then((response) =&gt; response.json()).then((response) =&gt; {
    let data=[]
    response.map(i =&gt;{
      data.push({label:i.name, value:i.tid, parent:i.parent})
    })
    this.setState({
      categories: data
    })
  }).done();


Can anyone suggest where is the problem?
You need to grant permission for Perform unlimited index queries at admin/people/permissions. Alternatively, you can set this in settings.php:

$conf['services_taxonomy_term_index_page_size'] = 200;