How can I create a custom controller to replace a REST request

I have this endpoint http://localhost:1337/api/clinics?filters[servicetypes][id][$eq]=1&fields[0]=id that works just fine but I would like hide this into a /get-clinics-by-services/:id, but couldn´t do it only reading the docs

This topic has been created from a Discord post (1261144347672318014) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

1 Like