Magento 2 Certification Questions List | You need to handle url like https://domain1.com/rest/v1/custom. How to do it?

You need to handle url like https://domain1.com/rest/v1/custom. How to do it?