Last active
November 23, 2020 17:12
-
-
Save merltron-pa/4c265d29eeadf8cc3d074f70b60bcd59 to your computer and use it in GitHub Desktop.
PHP/JMS Article: Condensed FOS REST config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fos_rest: | |
body_converter: | |
enabled: true | |
allowed_methods_listener: true | |
format_listener: | |
rules: | |
- { path: '^/', prefer_extension: true, fallback_format: json, priorities: [ 'json', 'xml'] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment