Traditionally, you can use routing to map an the request with the Routing Component who handled request and response parameters by HttpFoundation Component.
Additionally, a custom route parameter can be created by using the FOSRestBundle to extends the default functionalities of the Routing Compone...