rest api code for connect wordpress database with application


Staff member
I'm new in wordpress and I try to get data by rest API for my mobile app. But I have a problem for getting products by category. I used WooCommerce-REST-API-Client-Library and wc-api-php but I couldn't find any thing.

in this DOC woocommerce-rest-api-docs I found this Limit result set to products assigned a specific category, e.g. ?category=9,14. but still nothing.

I even change my permalink many time. I use last version of wordpress and woocommerce.

I also used filter but still nothing. Maybe I used them in wrong way but i tried to be like DOC.