Closed vylink closed 5 years ago
Hi,
Is it possible to modify response headers for ClientErrorException? Error Response is not delivered to the browser because of CORS :( Any advice?
Cheers
From #96 I see you use ResponseDecorator. Just implement IErrorDecorator, it should be enough. https://github.com/apitte/core/blob/master/src/Decorator/IErrorDecorator.php#L19
Many thanks. It works perfectly.
Hi,
Is it possible to modify response headers for ClientErrorException? Error Response is not delivered to the browser because of CORS :( Any advice?
Cheers