File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/magento/module-directory/etc/webapi.xml
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
<!-- Currency -->
<route url="/V1/directory/currency" method="GET">
<service class="Magento\Directory\Api\CurrencyInformationAcquirerInterface" method="getCurrencyInfo"/>
<resources>
<resource ref="anonymous" />
</resources>
</route>
<!-- Country and Region -->
<route url="/V1/directory/countries" method="GET">
<service class="Magento\Directory\Api\CountryInformationAcquirerInterface" method="getCountriesInfo"/>
<resources>
<resource ref="anonymous" />
</resources>
</route>
<route url="/V1/directory/countries/:countryId" method="GET">
<service class="Magento\Directory\Api\CountryInformationAcquirerInterface" method="getCountryInfo"/>
<resources>
<resource ref="anonymous" />
</resources>
</route>
</routes>