Get Posts from REST API with query parameter
-
How can I use query parameters to filter data that I get from REST API?
I have this data in the REST API response that I get. I want to get all posts where cp_status is 0 and cp_type is online.
{“id”: 27422,”menu_order”: 1617,”cp_status”: “0”,”cp_type”: [“online”]},{“id”: 24472,”menu_order”: 1636,”cp_status”: “1”,”cp_type”: [“online”]}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Get Posts from REST API with query parameter’ is closed to new replies.