[Flow] Question about RestController Exceptions
Carsten Bleicker
carsten at bleicker.de
Mon Dec 1 08:42:34 CET 2014
Think this behaviour is a result of a non matching route because of the missing uid.
My first idea is to implement your own Exception Handler wich is able to render exceptions in the requested format?
----------------------
Carsten Bleicker
Wülfingstraße 1
42477 Radevormwald
E-Mail: carsten at bleicker.de
Web: www.bleicker.de
Twitter: @carstenbleicker
Jabber: cbleicker at jabber.ccc.de
Telefon: +49 (0)171-2690845
Am 01.12.2014 um 08:30 schrieb David Sporer <david.sporer at gmail.com>:
> Hi,
>
> I’m developing a small API using the RestController which is working fine so far but I’ve got one question.
> If I’m calling a URI to update an object and a unknown uid is submitted 404 is returned as status code which is correct.
> But also the default html view is rendered.
> I’d expect just an empty output.
>
> Where can this be configured?
>
> Thanks,
> David
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
More information about the Flow
mailing list