Init webservice
Added routes.yml, added a controller that returns dummy data. I want to test how this works and then expand on it to actually use the database to grab real data.
This commit is contained in:
5
config/routes.yml
Normal file
5
config/routes.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
ws_orderreference_get_reference:
|
||||
path: /order-reference/{id_order}
|
||||
methods: [GET]
|
||||
defaults:
|
||||
_controller: 'Module\WsOrderreference\Controller\OrderReferenceController::getReferenceAction'
|
||||
Reference in New Issue
Block a user