api call with querystring not working
-
Hi,
I am new to WP REST API plugin. I have setup the plugin and created a new wp theme for angular by following this tutorial https://1fix.io/blog/2014/11/05/angularjs-json-api-wp-theme/. I got everything working fine. However, when I try to do a GET request for post type, it seems like the api is not returning the correct results. After some experiment, I believe the api is ignoring the query params. For example, I am trying to do a request like this: https://www.mydomain.com/wp-json/posts?type=sometype, it will just return the result of the https://www.mydomain.com/wp-json/posts. Any idea what I might be missing? Thanks a lot!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘api call with querystring not working’ is closed to new replies.