Mar 7, 2017
0
Level 1
Exception handeling for wrong route in lumen
My url is http://localhost/Testing/testapi/public/index.php/api/v1/login .it is working fine But when i put extra slash i.e http://localhost/Testing/testapi/public/index.php/api/v1/login/ ,then it shows error ---- The requested URL /index.php/api/v1/login was not found on this server. I can not catch the exception using the url with extra slash at the end. 'http://localhost/Testing/testapi/public/index.php/api/v1/login/something' this exception is caught but when add extra slash the exception does not work ...Is there any process to catch this exception ? Pls help me anyone if anyone knows it ..
Please or to participate in this conversation.