Get by Id with multiple parameters

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

Here’s an outline with best practices for making your inquiry.

My question:
Instead of accessing id parameter (id=2), i want to access the url dynamically.$select=categoryId
But that’s not working.(getting 404 Error)

Details (like screenshots):

How I found the problem:
Basically I wanna know how to access id parameter by changing url dymamically.

I’ve already tried:$select=categoryId,categoryName$find=categoryId,categoryName