Created
September 27, 2016 14:33
-
-
Save zzpaul/ef363fceb84227d3c0234590e6eacea1 to your computer and use it in GitHub Desktop.
Magento 2 - Custom REST API - etc/webapi.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../vendor/magento/module-webapi/etc/webapi.xsd"> | |
<route url="/V1/BonusPoint/updateFreeBonusPoint" method="POST"> | |
<service class="Vendor\BonusPoint\Api\BonusPointInterface" method="updateFreeBonusPoint"/> | |
<resources> | |
<resource ref="anonymous"/> | |
</resources> | |
</route> | |
</routes> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment