Testing REST API Query

After creating a REST API query or business logic in a CUBA-PLATFORM project, how can I test it if working without consuming it from any app?

for Example, I have the following query

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<queries xmlns="http://schemas.haulmont.com/cuba/rest-queries.xsd">
    <query name="leaveTypeList" entity="erp$LeaveType" view="leaveType-view">
        <jpql><![CDATA[select e from erp$LeaveType e]]></jpql>
    </query>
    <query name="employeeUser" entity="erp$Employee" view="_minimal">
        <jpql><![CDATA[select e from erp$Employee e where e = (select u.employee from erp$UserExt u where u.user = :session$userLogin)]]></jpql>
    </query>
</queries>

Hi,
Most people use Postman for manual testing:
https://linuxhint.com/testing_rest_api_postman/