Closed arhimede closed 4 months ago
Middleware after the RouteMiddleware
to check the content negociation rules from a config file.
when the Accept header is missing
"ERR","message":"trim(): Argument #1 ($string) must be of type string, false given","extra":{"\u0000\u0000message":"trim(): Argument #1 ($string) must be of type string, false given","\u0000Error\u0000string":"","\u0000\u0000code":0,"\u0000*\u0000file":"/var/www/vhosts/api.dotkernel.net/httpdocs/src/App/src/Middleware/ContentNegotiationMiddleware.php",
https://api-tools.getlaminas.org/documentation/api-primer/content-negotiation
let's talk about that