I want to get some filtered entities by GET endpoint. This should be done by one not hardcoded parameter (e.g id, name, description, ...). I thought about smoething like that I have two params: searchKey and searchValue.
http://localhost:8080/api/cars?searchKey=name&searchValue=peugeot
But it doesn't look good. What are better scenarios for this problem?