16 lines
651 B
XML
16 lines
651 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<routes xmlns="http://symfony.com/schema/routing"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
|
|
|
|
<route id="_webservice_call" pattern="/{webservice}">
|
|
<default key="_controller">webservice.controller:call</default>
|
|
<requirement key="_method">POST</requirement>
|
|
</route>
|
|
<route id="_webservice_definition" pattern="/{webservice}">
|
|
<default key="_controller">webservice.controller:definition</default>
|
|
<requirement key="_method">GET</requirement>
|
|
</route>
|
|
</routes>
|