File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+
3+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Module/etc/module.xsd" >
4+ <module name =" Lotsofpixels_customerAPI" setup_version =" 1.0.0" >
5+ </module >
6+ </config >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <!--
3+ /**
4+ * Copyright © Magento, Inc. All rights reserved.
5+ * Lots of Pixels Amsterdam
6+ */
7+ -->
8+ <routes xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9+ xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Webapi:etc/webapi.xsd" >
10+ <route url =" /V1/customers" method =" POST" >
11+ <service class =" Magento\Customer\Api\AccountManagementInterface" method =" createAccount" />
12+ <resources >
13+ <resource ref =" self" />
14+ </resources >
15+ </route >
16+
17+ </routes >
Original file line number Diff line number Diff line change 1+ <?php
2+ \Magento \Framework \Component \ComponentRegistrar::register (
3+ \Magento \Framework \Component \ComponentRegistrar::MODULE ,
4+ 'Lotsofpixels_customerAPI ' ,
5+ __DIR__
6+ );
You can’t perform that action at this time.
0 commit comments