wordpress api using rest_route for other pages
Ok, so I am using WordPress rest API to fetch the data using front-end. I am having the plain permalinks and unfortunately, I am not allowed to change the permalinks.
I am using the route option:
And this is working completely fine.
Now my question is if I want to access a page URL with query params :
How could I do that with rest_route? Thanks in advance.