how is a REST API is routed to back end controller where FOSRestBundle is used to create services?
<p>Here is a scenario - <a href="http://ic.local/api/adds/disclosuers" rel="nofollow noreferrer">http://ic.local/api/adds/disclosuers</a> is the URL to create a disclouser and on click of form submit below data gets <code>POST</code> to the URL.</p>

<pre><code>{"gm_restbundle_tdtlsdisc":{"isClassified":"N","isExportControl":"N","discTitle":"test","firstRecordedDate":"06-December-2016","estimatedTime":"5","shareOutsideGM":"N"}}
</code></pre>

<p>But when I look into backend PHP Symfony code I am not able to locate which controller is handling this POST request. There is not such <code>adds</code> class having <code>disclosuers</code> method.</p>

<p>If <code>FOSRestBundle</code> is used, will it carry any different mechanism? I searched for <code>adds/disclosuers</code> all over the project. but I see it only in one Angular JS file where the POST URL is mentioned. </p>

<p>I am clueless.</p>