Skip to content

Commit efcfb77

Browse files
author
Mokhtar Tlili
committed
update readme file
1 parent 336d705 commit efcfb77

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,13 @@ Content-Type: application/problem+json; charset=utf-8
9696
]
9797
}
9898
```
99+
100+
### Configuration
101+
* In case you want to serve a specific format for your inputs:
102+
```yaml
103+
# config/packages/request_input.yaml
104+
request_input:
105+
enabled: true # default value true
106+
formats: ['json'] # default value ['json', 'xml', 'form']
107+
```
108+
with above configuration RequestInputBundle will transform JSON request data only.

0 commit comments

Comments
 (0)