Title: WP REST API Ignoring query string SOMETIMES
Last modified: January 14, 2017

---

# WP REST API Ignoring query string SOMETIMES

 *  [mcarpe21](https://wordpress.org/support/users/mcarpe21/)
 * (@mcarpe21)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/wp-rest-api-ignoring-query-string-sometimes/)
 * I am attempting to link an iOS app to my WordPress Site using Alamofire API to
   submit a get request to my site. I get the correct results, however, when I add
   the query string “?page=2” or ANY other query string, it gets completely ignored
   and I am returned the same results I would get if I had no query string at all.
   I understand this is often caused by an “nginx” configuration. I am attempting
   to fix this now (I have to submit a ticket to my server support staff), however,
   when I send a get request via an online JSON viewer (using parameters), the parameters
   are not ignored in that request. Any idea why the parameters would only be ignored
   coming from Alamofire/iOS and not from a javascript request? Should I just wait
   until the “nginx” configuration is updated by my support staff and see if this
   fixes the error?

The topic ‘WP REST API Ignoring query string SOMETIMES’ is closed to new replies.

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [rest](https://wordpress.org/support/topic-tag/rest/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 0 replies
 * 1 participant
 * Last reply from: [mcarpe21](https://wordpress.org/support/users/mcarpe21/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/wp-rest-api-ignoring-query-string-sometimes/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
