rest-api icon indicating copy to clipboard operation
rest-api copied to clipboard

Add error handling for illegal request methods (MethodNotAllowedException)

Open samtuke opened this issue 8 years ago • 0 comments

Currently if an illegal request method is used for communication with the API, no response is returned and a PHP Fatal Error is triggered (Uncaught Symfony\Component\Routing\Exception\MethodNotAllowedException in /base-distribution/var/cache/prod/phplist4coreProdProjectContainerUrlMatcher.php:58).

Add exception handling and error reporting for such cases.

samtuke avatar Jul 29 '17 11:07 samtuke