src/Resources/routes.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
https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="post_cookies_regulation_decision_log"
path="/rest/cookies-regulation/log"
controller="RichId\CookiesRegulationBundle\Controller\DecisionLogRoute"
methods="POST"
/>
</routes>