CurlRequest ignore exception |
I would like to work with the statuses and the body of the JSON response. But the 400-500 status stops the request. Is it possible to implement this?
For example, there is no post in the database, a PageNotFoundException + JSON is created in the body. In JS/PHPUnit, can I read the 404 status and decode the body with custom message?
Simple CI 4 project for beginners codeigniter-expenses
Thanks, for some reason I missed it at the docs
Simple CI 4 project for beginners codeigniter-expenses
|
Welcome Guest, Not a member yet? Register Sign In |