Site icon Hip-Hop Website Design and Development

easy methods to filter the info’s comparability operators (>= & <=) & vary between values utilizing the WP REST API

I am give up new for wordpress development. Working with property administration web site with cell API Development.

Right here have to filter the info’s for based mostly on circumstances like larger than and fewer than & between vary.

For instance have to filter and search the info’s the place worth filter vary and between and larger or lower than bedrooms. Kindly assist me to unravel this challenge.I’ve tried beneath instance however not works to me

http://192.168.0.88:8825/wp-json/wp/v2/properties?filter[meta_key]=property_bathrooms&filter[meta_value]=4&filter[meta_compare]=>=&filter[meta_key]=property_bedrooms&filter[meta_value]=5&filter[meta_compare]=>=&filter[meta_key]=property_price&filter[meta_value]=5,500&filter[meta_compare]=between