I'm working on small, vue based SPA. I'm using axios to get data from api that I'm interested about. The problem is that parameters are not working in any way, the same happens in Postman (I tried Postman because I thought that there is an error in my code, but there is not). Let's say I want to get posts from category 12 and order them ascending. So what I would try is something like this:
http://api-address.com/wp-json/wp/v2/posts/?categories=12&order=asc
Call presented above returns posts in wrong order. I'm struggling with this and can't make it work - so frustrating that official documentation lacks real usage examples...