Is it possible for Strapi to be able to return a specific data?

I’ve never configured graphQL in my project which was why I never use it but if you can do in GraphQL, can’t you also do it in REST?