Skip to content

Commit 66915da

Browse files
authored
content negotiation rephrasing
Signed-off-by: Jurj-Bogdan <[email protected]>
1 parent 88f6b3b commit 66915da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/book/v6/security/basic-security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ It is strongly recommended that custom functionality parsing user input also mak
1212

1313
Content negotiation in Dotkernel API is done by a middleware configured using the `config/autoload/content-negotiation.global.php` file.
1414

15-
Review the contents of this file and update it whenever you need to handle new routes.
15+
Whenever an endpoint needs custom `Accept` and/or `Content-Type`, make sure that you set them in the above file.
1616

1717
> Read more about [content negotiation](https://www.dotkernel.com/dotkernel-api/content-negotiation-in-dotkernel-rest-api/) and the way it is implemented in [Dotkernel API](../core-features/content-validation.md).
1818

0 commit comments

Comments
 (0)