JSON response on 404 |
I am creating an API and I need to response always with a JSON, including when the answer is a 404 message. Is this possible?
Yes, the answer is here: https://codeigniter.com/user_guide/incom...rride#id27
|
Welcome Guest, Not a member yet? Register Sign In |