Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

WP REST API Ignoring query string SOMETIMES

$
0
0

Replies: 0

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?


Viewing all articles
Browse latest Browse all 59525

Trending Articles