You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Authentication based on the example from docs https://api-platform.com/docs/admin/authentication-support/ leads to the weird side effect - PATCH requests fail with error stating that The content-type "application/ld+json" is not supported. Supported MIME types are "application/merge-patch+json".' Everything else works reasonably good, only PATCH is failing.
How to reproduce
Implement dataProvider accordingly to the docs.
Try to update entity via admin.
The text was updated successfully, but these errors were encountered:
API Platform version(s) affected: 4.0.11
Description
Authentication based on the example from docs https://api-platform.com/docs/admin/authentication-support/ leads to the weird side effect - PATCH requests fail with error stating that
The content-type "application/ld+json" is not supported. Supported MIME types are "application/merge-patch+json".'
Everything else works reasonably good, only PATCH is failing.How to reproduce
Implement dataProvider accordingly to the docs.
Try to update entity via admin.
The text was updated successfully, but these errors were encountered: