Skip to content

Commit 4c74012

Browse files
committed
Mentioned FOSRestBundle's content negotiation
1 parent 3858249 commit 4c74012

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

templating/formats.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,12 @@ format:
7878
.. seealso::
7979

8080
For more information, see this :ref:`Advanced Routing Example <advanced-routing-example>`.
81+
82+
.. tip::
83+
84+
When building APIs, using file name extensions often isn't the best
85+
solution. The FOSRestBundle provides a request listener that uses content
86+
negotiation. For more information, check out the bundle's `Request Format Listener`_
87+
documentation.
88+
89+
.. _Request Format Listener: http://symfony.com/doc/current/bundles/FOSRestBundle/3-listener-support.html#format-listener

0 commit comments

Comments
 (0)