404 error custom api

Hello, I try to get my data from my http://localhost:1337/matching-users but i get i 404 error. I want to get the interests of the logged in user. Later I want to show the users that has the same interests. What sould I do? can someone help me?

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

I’m newbie with Strapi but to get data from api u have to use url:
http://localhost:1337/api/matches-users

I hope it helps somehow

If I do that I get this and not my matching-user… I dont know how to solve it :frowning_with_open_mouth:

Just to make sure you’re querying the correct route, check what it’s exact path is using strapi routes:list

If you are querying the correct route, then the issue is with your controller