In Codeigniter, how can I retrieve the error message the API sends if the 401 status fires an exception I have to catch, losing the whole response?

前端 未结 0 386
借酒劲吻你
借酒劲吻你 2020-12-18 22:46

I am trying to make a request to my API, using the Codeigniter CURLRequest class. According to the docs, in it\'s basic form it looks like this:

$client = \\C         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题