Closed darkomenx closed 1 week ago
You must install Twig (which is part of the API Platform pack if you run composer require api
) to use the HTML format.
OK thank you for your reply. I confirm that resolve my issue.
WARNING : I had when installed API-Platform with 'composer require api
' which not provide api-platform/core
package.
There seems to be some confusion about API-Platform installation process on your website because the first page suggests 'composer require api-platform/core
' while the recommends 'composer require api'.
API Platform version(s) affected: 4.0
Symfony : 7.1 PHP 8.2 Symfony Serializer : 7.1
Description
HTTP 400 Error with message : "Serialization for the format "html" is not supported"
How to reproduce
Additional Context