Can anyone please explain how to perform the $and filter rest api query with strapi v4? I am new to strapi and followed the guidance in the documentation but this does not work. Thanks alot!

Student is a collection and has a relationship with courses (many to many), course is a relation type (has relationship to Student) and course has an id field which is of type text